Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase()

2012-12-03 Thread Vitaly Funstein
If you don't need to support case-sensitive search in your application, then you may be able to get away with adding string fields to your documents twice - lowercase version for indexing only, and verbatim to store. For example (this is Lucene 4 code, but same idea), // indexed - not stored d

Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase()

2012-12-03 Thread Trejkaz
On Tue, Dec 4, 2012 at 10:09 AM, Vitaly Funstein wrote: > If you don't need to support case-sensitive search in your application, > then you may be able to get away with adding string fields to your > documents twice - lowercase version for indexing only, and verbatim to > store. Actually, I will