Re: Trying to fix Too Many Boolean Clauses Exception

2017-10-18 Thread Yonik Seeley
On Wed, Oct 18, 2017 at 12:23 PM, Erick Erickson wrote: > What have you tried? And what is the current setting? > > This usually occurs when you are assembling very large OR clauses, > sometimes for ACL calculations. > > So if you have a query of the form > q=field:(A OR B OR C OR) > or >

Re: Trying to fix Too Many Boolean Clauses Exception

2017-10-18 Thread Erick Erickson
What have you tried? And what is the current setting? This usually occurs when you are assembling very large OR clauses, sometimes for ACL calculations. So if you have a query of the form q=field:(A OR B OR C OR) or fq=field:(A OR B OR C OR) change it to use TermsQueryParser, see