Re: Large disjunction query practices

2014-06-10 Thread Joe Gresock
ry > requirements down. > > Small is better. > > -- Jack Krupansky > > -Original Message- From: Joe Gresock > Sent: Monday, June 9, 2014 8:50 AM > To: solr-user@lucene.apache.org > Subject: Large disjunction query practices > > > I'm wondering what th

Re: Large disjunction query practices

2014-06-10 Thread Gili Nachum
Yes, most cases there would be some other, better, way to accomplish what you're after, share your high level goal. By default, Lucene, and Solr, limit the max number of clauses to 1024, even before that your performance would go down the drain. 1024 On Tue, Jun 10, 2014 at 10:21 AM, Ahmet Ars

Re: Large disjunction query practices

2014-06-10 Thread Ahmet Arslan
Hi, Where are these ORed terms coming from? A user cannot enter this much term. THere are other solutions, joins, post filters etc. You need to tell us your high level goal. On Monday, June 9, 2014 3:51 PM, Joe Gresock wrote: I'm wondering what the best practice for large disjunct queries in

Re: Large disjunction query practices

2014-06-09 Thread Jack Krupansky
down. Small is better. -- Jack Krupansky -Original Message- From: Joe Gresock Sent: Monday, June 9, 2014 8:50 AM To: solr-user@lucene.apache.org Subject: Large disjunction query practices I'm wondering what the best practice for large disjunct queries in Solr is. A user wants t

Large disjunction query practices

2014-06-09 Thread Joe Gresock
I'm wondering what the best practice for large disjunct queries in Solr is. A user wants to submit a query for several hundred thousand terms, like: (term1 OR term2 OR ... term500,000) I know it might be better to break this up into multiple queries that can be merged on the user's end, but I'm w