Re: maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-06 Thread dinesh naik
x27;s working as expected. We don't need to update every solrconfig.xml. The value mentioned in solr.xml is global and if maxBooleanClauses for any collection in solrconfig.xml exceeds the limit specified in solr.xml then we get the exception. Thanks for replying. On Wed, Jan 6, 2021 at 10:57 PM d

Re: maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-06 Thread dinesh naik
Thanks Shawn, This entry ${solr.max.booleanClauses:2048} in solr.xml was introduced only in solr 8.x version and were not present in 7.6 version. We have this in solrconfig.xml in 8.4.1 version. ${solr.max.booleanClauses:2048} i was updating the solr.xml in the installation directory and not t

Re: maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-06 Thread Chris Hostetter
: You need to update EVERY solrconfig.xml that the JVM is loading for this to : actually work. that has not been true for a while, see SOLR-13336 / SOLR-10921 ... : > 2. updated solr.xml : : > ${solr.max.booleanClauses:2048} : : I don't think it's currently possible to set the value with solr

Re: maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-05 Thread Shawn Heisey
On 1/5/2021 8:26 AM, dinesh naik wrote: Hi all, I want to update the maxBooleanClauses to 2048 (from default value 1024). Below are the steps tried: 1. updated solrconfig.xml : ${solr.max.booleanClauses:2048} You need to update EVERY solrconfig.xml that the JVM is loading for this to actually

Re: maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-05 Thread ANNAMANENI RAVEENDRA
I experienced the same thing in solr-8.7 , it worked for me using system property. Set system property in solr.in.sh file On Tue, Jan 5, 2021 at 8:58 PM dinesh naik wrote: > Hi all, > I want to update the maxBooleanClauses to 2048 (from default value 1024). > Below are the steps t

maxBooleanClauses change in solr.xml not reflecting in solr 8.4.1

2021-01-05 Thread dinesh naik
Hi all, I want to update the maxBooleanClauses to 2048 (from default value 1024). Below are the steps tried: 1. updated solrconfig.xml : ${solr.max.booleanClauses:2048} 2. updated solr.xml : ${solr.max.booleanClauses:2048} 3. Restarted the solr nodes. 4. Tried query with more than 2000 OR

Re: maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Zaccheo Bagnati
tput but parsed_filter_queries value seems the same for the version with and without quotes. (I'm using the condition as a fq) However now it works Thanks Il giorno gio 7 apr 2016 alle ore 16:28 Shawn Heisey ha scritto: > On 4/7/2016 8:05 AM, Zaccheo Bagnati wrote: > > I'm

Re: maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Jack Krupansky
Edismax phrase-boost terms? -- Jack Krupansky On Thu, Apr 7, 2016 at 10:28 AM, Shawn Heisey wrote: > On 4/7/2016 8:05 AM, Zaccheo Bagnati wrote: > > I'm trying to set the maxBooleanClauses parameter in solrconfig.xml to > 1024 > > but I still have "Too many boolean

Re: maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Shawn Heisey
On 4/7/2016 8:05 AM, Zaccheo Bagnati wrote: > I'm trying to set the maxBooleanClauses parameter in solrconfig.xml to 1024 > but I still have "Too many boolean clauses" error even with 513 terms (with > 512 terms it works). > I've read in the documentation ( >

maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Zaccheo Bagnati
Hi all, I'm trying to set the maxBooleanClauses parameter in solrconfig.xml to 1024 but I still have "Too many boolean clauses" error even with 513 terms (with 512 terms it works). I've read in the documentation ( https://cwiki.apache.org/confluence/display/solr/Query+Setting

Re: Increase maxBooleanClauses limit at run time

2014-09-18 Thread Erick Erickson
p 18, 2014 at 8:00 AM, Shawn Heisey wrote: > On 9/18/2014 1:28 AM, Vishnu Mishra wrote: >> I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. >> But my application need to change this limit at run time depending upon the >> query. So can I set this lim

Re: Increase maxBooleanClauses limit at run time

2014-09-18 Thread Shawn Heisey
On 9/18/2014 1:28 AM, Vishnu Mishra wrote: > I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. > But my application need to change this limit at run time depending upon the > query. So can I set this limit at run time for e.g. in SolrParam or in other > ways.

Increase maxBooleanClauses limit at run time

2014-09-18 Thread Vishnu Mishra
Hi I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. But my application need to change this limit at run time depending upon the query. So can I set this limit at run time for e.g. in SolrParam or in other ways. -- View this message in context: http://lucene.472066

Re: FilterQuery reaching maxBooleanClauses, alternatives?

2011-01-17 Thread Salman Akram
s e.g. UserType (possible > > values can be TypeA,TypeB and so on...) and then you can just do > > > > ?q=name:Stefan&fq=UserType:TypeB > > > > BTW you can even increase the size of maxBooleanClauses but in this case > > definitely this is not a good idea.

Re: FilterQuery reaching maxBooleanClauses, alternatives?

2011-01-17 Thread Stefan Matheis
> You can index a field which can the User types e.g. UserType (possible > values can be TypeA,TypeB and so on...) and then you can just do > > ?q=name:Stefan&fq=UserType:TypeB > > BTW you can even increase the size of maxBooleanClauses but in this case > definitely th

Re: FilterQuery reaching maxBooleanClauses, alternatives?

2011-01-17 Thread Salman Akram
You can index a field which can the User types e.g. UserType (possible values can be TypeA,TypeB and so on...) and then you can just do ?q=name:Stefan&fq=UserType:TypeB BTW you can even increase the size of maxBooleanClauses but in this case definitely this is not a good idea. Also you would

FilterQuery reaching maxBooleanClauses, alternatives?

2011-01-17 Thread Stefan Matheis
Hi List, we are sometimes reaching the maxBooleanClauses Limit (which is 1024, per default). So, the used query looks like: ?q=name:Stefan&fq=5 10 12 15 16 [...] where the values are ids of users, which the current user is allowed to see - so long, nothing special. sometimes the filter-q

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
s and changing hl=true to hl=false. Unfortunately, when using >> debugQuery=on, I do not see any details on what is going on with the >> highlighting portion of the query (after artificially increasing the >> maxBooleanClauses so the query will run). >> >> With all

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Markus Jelsma
; params and changing hl=true to hl=false. Unfortunately, when using > > debugQuery=on, I do not see any details on what is going on with the > > highlighting portion of the query (after artificially increasing the > > maxBooleanClauses so the query will run). > > > > W

Re: Highlighting and maxBooleanClauses limit

2010-11-02 Thread Koji Sekiguchi
details on what is going on with the highlighting portion of the query (after artificially increasing the maxBooleanClauses so the query will run). With all of that said, my question(s) to the list are: Is there a way to determine how exactly the highlighter is building its query (i.e., so

Highlighting and maxBooleanClauses limit

2010-11-02 Thread Ken Stanley
By default, the solrconfig.xml has maxBooleanClauses set to 1024, which in my opinion should be more than enough clauses in general. Recently, we have been noticing errors in our Catalina log: SEVERE: org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 2048. As a

maxBooleanClauses implications of a high number ?

2009-04-20 Thread Rakesh Sinha
I am configuring solr locally for our apps and for some of our apps - we need to configure maxBooleanQueries in the solr configuration. Right now - we had set it to 8K ( as opposed to the default of 1K) . Our dataset document size is about 500K . We have about 6G of ram (totally) - so ignoring the

Re: maxBooleanClauses

2007-12-20 Thread Erick Erickson
On Dec 20, 2007 8:39 PM, Stu Hood <[EMAIL PROTECTED]> wrote: > Hello, > > Is the 'maxBooleanClauses' setting just there for sanity checking, to > protect me from my users? > > Thanks, > > Stu Hood > Webmail.us > "You manage your business. We'll manage your email."(R) > >

maxBooleanClauses

2007-12-20 Thread Stu Hood
Hello, Is the 'maxBooleanClauses' setting just there for sanity checking, to protect me from my users? Thanks, Stu Hood Webmail.us "You manage your business. We'll manage your email."®