i resolved my confusion and discovered that the documents of the second shard contained the same 'unique' id.

rows=0 displayed the 'correct' numFound since (as i understand) there was no merge of the results.

cheerio,
patrick

On 25.07.2012 17:07, patrick wrote:
hi,

i'm running two solr v3.6 instances:

rdta01:9983/solr/msg-core  : 8 documents
rdta01:28983/solr/msg-core : 4 documents

the following two queries with rows=10 resp rows=0 return different
numFound results which confuses me. i hope someone can clarify this
behaviour.

URL with rows=10:
-----------------
http://rdta01:9983/solr/msg-core/select?q=*:*&shards=rdta01%3A9983%2Fsolr%2Fmsg-core%2Crdta01%3A28983%2Fsolr%2Fmsg-core&indent=on&start=0&rows=10

numFound=8 (incorrect, second shard is missing)

URL with rows=0:
----------------
http://rdta01:9983/solr/msg-core/select?q=*:*&shards=rdta01%3A9983%2Fsolr%2Fmsg-core%2Crdta01%3A28983%2Fsolr%2Fmsg-core&indent=on&start=0&rows=0

numFound=12 (correct)

cheerio,
patrick


Reply via email to