lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: Trace only exactly matching terms!
Date Fri, 07 May 2010 13:07:55 GMT
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 <manjula53@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message