Lucene Boolean Query Minimization

2015-02-02 Thread Apurv Verma
Hey all, I have a large boolean query in lucene which can be minimized to a smaller version with fewer clauses. Does Lucene automatically minimize complex boolean queries to simpler versions before executing them? If not, are there are predefined ways to do so? -- Regards, Apurv

Re: Case Insensitive Matching in Solr/Lucene

2014-11-25 Thread Apurv Verma
the form fq=Term:"quick" Also could you please point me to some additional links on how I can index different variants of a token at the same position? -- Regards, Apurv Verma On Tue, Nov 25, 2014 at 6:26 PM, Michael Sokolov < msoko...@safaribooksonline.com> wrote: > righ

Re: Case Insensitive Matching in Solr/Lucene

2014-11-25 Thread Apurv Verma
Hii Ahmet, Thanks for your reply. Creating two separate fields is a viable solution where one contains the original value and the other contains the lowercased value. But this leads to index bloat up. (~ 2x) I am looking for any other alternative solutions. -- Regards, Apurv Verma On Tue

Case Insensitive Matching in Solr/Lucene

2014-11-25 Thread Apurv Verma
Hey all, The standard solution to doing a case-insensitive match in lucene is to use a Lowercase filter at index and query time. However this does not preserve the content of the original document. For example if my inverted index is. Term Doc_1 Doc_2 - Quick |