On Feb 8, 2005, at 8:30 AM, HariSankar wrote:
Im using Lucene to search a Text file thats basically a database file with @ as a separator. When i give a search for the expression "$20", it fetches me results for "@20" as well. How do i supress this ?

You have a bad case of Analysis Paralysis:

        http://wiki.apache.org/jakarta-lucene/AnalysisParalysis

First step is to get a handle on what you want out of your analyzer and then get a glimpse at what your analyzer is doing to your text. Once you get a feel for what is going on underneath, you'll see the issue clearly and will be able to go from there with a different (perhaps custom) analyzer.

        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to