Re: Is there any performance cost of using lots of OR in the solr query

2012-04-06 Thread Shawn Heisey
On 4/5/2012 3:49 PM, Erick Erickson wrote: Of course putting more clauses in an OR query will have a performance cost, there's more work to do OK, being a smart-alec aside you will probably be fine with a few hundred clauses. The question is simply whether the performance hit is acceptable.

Re: Is there any performance cost of using lots of OR in the solr query

2012-04-06 Thread Erick Erickson
Shawn: Ahhh, so *that* was what your JIRA was about Consider https://issues.apache.org/jira/browse/SOLR-2429 for your ACL calculations, that's what this was developed for. The basic idea is that you can write a custom filter that returns whether the document should be included in the

Re: Is there any performance cost of using lots of OR in the solr query

2012-04-05 Thread Erick Erickson
Of course putting more clauses in an OR query will have a performance cost, there's more work to do OK, being a smart-alec aside you will probably be fine with a few hundred clauses. The question is simply whether the performance hit is acceptable. I'm afraid that question can't be answered

Is there any performance cost of using lots of OR in the solr query

2012-04-04 Thread roz dev
Hi All, I am working on an application which makes few solr calls to get the data. On the high level, We have a requirement like this - Make first call to Solr, to get the list of products which are children of a given category - Make 2nd solr call to get product documents based on a