lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: Exact Match Query in Lucene with SnowBall Analyzer
Date Wed, 09 May 2012 12:38:07 GMT
Hi,

The behavior is expected with stemming.
Have you tried using StandardAnalyzer which do not do stemming?

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 9. mai 2012, at 08:12, Yogesh patel wrote:

> I am using Lucene and i have one question about it
> 
> I am using Snowball analyzer with English version.
> 
> My index has below columns
> (1) id
> (2) Content
> 
> i.e
> Id     Content
> _________________________________________________
> 
> 1      This is murder case and murdering is crime
> 2      The wife of a Mumbai builder was found murdered at her Ghatkopar
> flat on  Monday night
> 
> when i search with keyword 'murder' , it should search only murder keyword
> from content field and highlight only murder keyword(Not murdering or
> murdered).
> 
> Awaiting for reply
> 
> Yogesh Patel


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message