Re: How to make a case insensitive search using a FuzzyQuery?

2007-07-06 Thread Jiye Yu
You may store the original text in the doc w/o index it and index the lower case version without storing it. This may save you some space/time. Eloi Rocha Neto wrote: Hi Daniel, I dont lowercase the field at index time, because I have to show the results in the same way as it was found. F

Re: Analyzer sharing

2007-06-22 Thread Jiye Yu
I see. I guess those Filters (e.g. PorterStemFilter) that make up the analyzer are not thread safe or cannot be shared. Thanks for your quick response! Jay Yonik Seeley wrote: On 6/22/07, Jiye Yu <[EMAIL PROTECTED]> wrote: I guess an Analyzer (built in ones such as StandardAn

Analyzer sharing

2007-06-22 Thread Jiye Yu
Hi, I guess an Analyzer (built in ones such as StandardAnalyzer, POrterStemAnalyer and etc) is not thread safe. But I wonder if it's ok to share the same analyzer object within a thread. For example, if I want to create a PerFieldAnalyzer for 5 fields, can I use the same Analyzer object for a

Re: efficient way to filter out unwanted results

2007-06-15 Thread Jiye Yu
Thanks Antony for the idea. The only thing that may prevent it from working well is that the index is updated frequently so the docid to ext id or cache needs to be updated freq, which may affect the performance. Thanks again for your help. Antony Bowesman wrote: yu wrote: Thanks Sawan for