Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Exact Match Query in Lucene with SnowBall Analyzer

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


yogeshpateldaiict at gmail

May 8, 2012, 11:12 PM

Post #1 of 2 (107 views)
Permalink
Exact Match Query in Lucene with SnowBall Analyzer

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


jan.asf at cominvent

May 9, 2012, 5:38 AM

Post #2 of 2 (99 views)
Permalink
Re: Exact Match Query in Lucene with SnowBall Analyzer [In reply to]

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 [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.