Yes, this is a distributed search thing. In a distributed search, it will first 
make a somewhat normal facet request to all of the shards, get back the facet 
values, then make a second request in order to get the full counts of the facet 
values - this second request contains a list of facet terms that were not 
returned in the first response but were found on the other shards. Though, if 
only one shard even has this facet data, I would kind of expect you to not see 
this...

If Tomcat is truncating the request, the NPE could be due to 
https://issues.apache.org/jira/browse/SOLR-435.

Are you able to see the query in the shard 6 log for the working 
facet.limit=5000&facet.offset=0 query?

-Michael

-----Original Message-----
From: coolpriya5 [mailto:coolpri...@gmail.com] 
Sent: Wednesday, April 10, 2013 9:16 PM
To: solr-user@lucene.apache.org
Subject: RE: NPE when faceting TEXTfield in a distributed search query

I'm using tomcat. Also in such a case, why wouldn't the same error occur when I 
run the same query on shard 6 alone? Is this a limitation of distributed search?

Shard 6 is the only shard that has data for this query.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/NPE-when-faceting-TEXTfield-in-a-distributed-search-query-tp4055172p4055208.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to