Thanks Joel! However I'm come to realize that upgrading to Solr 6 is not a
near term reality due to the Java 8 requirement.

I don't want anyone to waste their time debugging my code. At least not
until I've made time to really work through it myself. I was just looking
for a pointer on generalities - if the collector works with a single shard
but not two, perhaps look at A and B.


Joel Bernstein wrote
> ...
> 
> As far using a MergeStrategy, I would suggest creating a streaming
> expression that handles the merge. This is a much cleaner approach. An
> example of how this works can be seen in this patch:
> 
> https://issues.apache.org/jira/secure/attachment/12820171/SOLR-9252.patch
> 
> The AnalyticsQuery in this case is:
> 
> TextLogisticRegressionQParserPlugin.java
> 
> The expression is:
> 
> TextLogitStream.java
> 
> The TextLogitStream has sample code for calling the shards and merging
> the results.
> 
> If you want to use this approach the following patch is needed so you
> can add your own streaming expression:
> 
> https://issues.apache.org/jira/browse/SOLR-9103
> 
> This will likely be in 6.2





--
View this message in context: 
http://lucene.472066.n3.nabble.com/AnalyticsQuery-fails-on-a-sharded-collection-tp4289274p4289364.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to