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, May 7, 2010 at 2:22 PM, manjula wijewickrema <manjul...@gmail.com>wrote: > 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 did > not show me the 'Lucene in action as a hit'! What is the reason for this? > Why it doesn't tackle word 'actions' as a hit? Does Lucene identify only > the > exactly matching words? > > Thanks > Manjula >