RE: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread Michael Ryan
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 TEXTf

RE: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread coolpriya5
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-

RE: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread Michael Ryan
n NPE. Are you using Jetty, Tomcat, or something else? -Michael -Original Message- From: coolpriya5 [mailto:coolpri...@gmail.com] Sent: Wednesday, April 10, 2013 7:17 PM To: solr-user@lucene.apache.org Subject: Re: NPE when faceting TEXTfield in a distributed search query Solr Version is 3.

Re: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread coolpriya5
Solr Version is 3.4. As for stacktrace, I tried setting logger level to FINEST on the solr admin logging page and it still doesn't print the stacktrace. All I get are one liners:- 2013-04-10 17:09:59,889 [http--18] ERROR [Marker: ] org.apache.solr.core.SolrCore : java.lang.N

Re: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread Jack Krupansky
@lucene.apache.org Subject: Re: NPE when faceting TEXTfield in a distributed search query Number of values fun_group on shard 6 = 48000 Max length of fun_group is 20 chars If I run the facet on just shard6 it doesn't error out no matter the facet.limit. Also this query returns results only from shard 6

Re: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread coolpriya5
Number of values fun_group on shard 6 = 48000 Max length of fun_group is 20 chars If I run the facet on just shard6 it doesn't error out no matter the facet.limit. Also this query returns results only from shard 6 since the my_id:4024 belongs to shard 6. -- View this message in context: http:

Re: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread Jack Krupansky
ssage- From: Jack Krupansky Sent: Wednesday, April 10, 2013 6:30 PM To: solr-user@lucene.apache.org Subject: Re: NPE when faceting TEXTfield in a distributed search query Are you sure you want to facet on a text field??? That will facet on the individual terms, which isn't usually very useful

Re: NPE when faceting TEXTfield in a distributed search query

2013-04-10 Thread Jack Krupansky
Are you sure you want to facet on a text field??? That will facet on the individual terms, which isn't usually very useful. Usually, people want to facet on full phrases or entire strings, so they do a schema copyField from the text field to a string field and then facet on the string field.