Re: Trace only exactly matching terms!

2010-05-10 Thread manjula wijewickrema
Hi Anshum & Erick, As you have mentioned, I used SnowballAnalyzer for stemming purposes. It worked nicely. Thnks a lot for your guidence. Manjula. On Fri, May 7, 2010 at 8:27 PM, Erick Erickson wrote: > The other approach is to use a stemmer both at index and query time. > > BTW, it's very easy

Re: Trace only exactly matching terms!

2010-05-07 Thread Erick Erickson
The other approach is to use a stemmer both at index and query time. BTW, it's very easy to make a "custom" analyzer by chaining together the Tokenizer and as many filters (e.g. PorterStemFilter), essentially composing your analyzer from various pre-built Lucene parts. HTH Erick On Fri, May 7, 2

Re: Trace only exactly matching terms!

2010-05-07 Thread Anshum
Hi Manjula, Yes lucene by default would only tackle exact term matches unless you use a custom analyzer to expand the index/query. -- Anshum Gupta http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Fri, M

Trace only exactly matching terms!

2010-05-07 Thread manjula wijewickrema
Hi, I am using Lucene 2.9.1 . I have downloaded and run the 'HelloLucene.java' class by modifing the input document and user query in various ways. Once I put the document sentenses as 'Lucene in actions' insted of 'Lucene in action', and I gave the query as 'action' and run the programme. But it