Re: TooManyClauses: maxClauseCount is set to 1024

2016-08-05 Thread Erick Erickson
Another alternative is to use the TermsQueryParser which is intended to deal with very large lists of values that should be ORed together. It may be useful if your query pattern matches its intent. see: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-TermsQueryParser Be

Re: TooManyClauses: maxClauseCount is set to 1024

2016-08-05 Thread Shawn Heisey
On 8/3/2016 12:49 AM, liubiaoxin1 wrote: > set exery core solrconfig.xml: 4096 Are you absolutely certain that you have set maxBooleanClauses on *EVERY* core in that Solr instance? This value is global, across the entire JVM, and the last core that starts will set the value for all cores. It is

Re: TooManyClauses: maxClauseCount is set to 1024

2016-08-03 Thread liubiaoxin1
<http://lucene.472066.n3.nabble.com/file/n4290158/QQ%E6%88%AA%E5%9B%BE20160803145022.jpg> -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4290158.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: TooManyClauses: maxClauseCount is set to 1024

2016-08-03 Thread liubiaoxin1
set exery core solrconfig.xml: 4096 -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4290157.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: maxClauseCount is set to 1024

2014-03-10 Thread Jack Krupansky
-Original Message- From: Andreas Owen Sent: Monday, March 10, 2014 4:07 AM To: solr-user@lucene.apache.org Subject: maxClauseCount is set to 1024 does this maxClauseCount go over each field individually or all put together? is it the date fields? when i execute a query i get this error

maxClauseCount is set to 1024

2014-03-10 Thread Andreas Owen
4 35 25 9 +1MONTH 2011-03-01T00:00:00Z 2014-04-01T00:00:00Z 0 maxClauseCount is set to 1024 org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024at org.apache.lucene.search.ScoringRewrite$1

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread Shawn Heisey
On 4/18/2013 11:02 PM, sawanverma wrote: > Giving content:[* TO *] gives the same error but when I give content:[a TO z] > it works fine. Can you please explain what does it mean when I give > content:[a TO z]? Can I use this as workaround? The datatype of content field > is text_en. That synta

RE: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
. Regards, Sawan From: Shawn Heisey-4 [via Lucene] [mailto:ml-node+s472066n4057074...@n3.nabble.com] Sent: Friday, April 19, 2013 12:33 AM To: Sawan Verma Subject: Re: TooManyClauses: maxClauseCount is set to 1024 On 4/18/2013 11:53 AM, sawanverma wrote: > Shawn, > > Thanks a lot for your rep

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread Shawn Heisey
On 4/18/2013 11:53 AM, sawanverma wrote: Shawn, Thanks a lot for your reply. But I am confused again if the following query is complex. http://localhost:8983/solr/test/select/?q=content:*&fl=content&hl=true&hl.fl=content&hl.maxAnalyzedChars=31375&start=64&rows=1&sort=obs_date%20desc I hardly

RE: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
Heisey-4 [via Lucene] [mailto:ml-node+s472066n4057027...@n3.nabble.com] Sent: 18 April 2013 PM 09:38 To: Sawan Verma Subject: Re: TooManyClauses: maxClauseCount is set to 1024 On 4/18/2013 6:02 AM, sawanverma wrote: > Hi Yonik, > > Thanks for your reply. > > I tried increasing the maxCl

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread Shawn Heisey
On 4/18/2013 6:02 AM, sawanverma wrote: Hi Yonik, Thanks for your reply. I tried increasing the maxClauseCount to a bigger value. But what could be the ideal value and will not that hit the performance? What are the chances that if we increase the value we will not face this issue again? Ch

RE: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
Regards, sawan -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4056974.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
the error Problem accessing /solr/ar/select/. Reason: maxClauseCount is set to 1024 org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:136) at

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread pravesh
Update: Also remove your range queries from the main query and specify it as a filter query. Best Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4056969.html Sent from the Solr - User mailing list archive at

RE: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
ucene] [mailto:ml-node+s472066n4056966...@n3.nabble.com] Sent: Thursday, April 18, 2013 5:06 PM To: Sawan Verma Subject: Re: TooManyClauses: maxClauseCount is set to 1024 Just increase the value of maxClauseCount in your solrconfig.xml. Keep it large enough. Best Pravesh __

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread Yonik Seeley
&sort=obs_date%20desc > > Regards, > Sawan > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread pravesh
Just increase the value of /maxClauseCount/ in your solrconfig.xml. Keep it large enough. Best Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4056966.html Sent from the Solr - User mailing list archive at

TooManyClauses: maxClauseCount is set to 1024

2013-04-18 Thread sawanverma
message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965.html Sent from the Solr - User mailing list archive at Nabble.com.