lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrw <>
Subject Result docs missing only when shards parameter present in query?
Date Wed, 11 May 2011 20:10:37 GMT

We have two Solr nodes, each with multiple shards.  If we query each shard
directly (no shards parameter), we get the expected results:

   lst name="responseHeader"
       int name="status" 0
       int name="QTime"  222222
   result name="response" numFound="1000000" start="0"
(^^^ hand-typed pseudo XML)

However, if we add the shards parameter and even supply one of the above
shards, we get the same number of results, but all the doc elements under
the result element are missing:

   lst name="responseHeader"
       int name="status" 0
       int name="QTime"  333333
   result name="response" numFound="1000000" start="0"

(^^^ note missing doc elements)

It doesn't matter which shard is specified in the shards parameter;  if any
or all of the shards are specified after the shards parameter, we see this

When we go to http://<server>:8983/solr/  on either node, we see all the
shards properly listed.  

So, the shards seem to be registered properly, and work individually, but
not when the shards parameter is supplied.   Any ideas?


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message