You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by secou <se...@pobox.com> on 2008/03/03 11:21:01 UTC
Avoid stemming to get exact word in search results
Hi,
I’m using RSS Bandit feed reader (HYPERLINK
"http://www.rssbandit.org"www.rssbandit.org) whose search engine is based on
Lucene.
I understand the interest of stemming but I sometimes want the exact word
and not the stemmed one.
For example a search with OFS (a company) gives plenty of responses with
“of”.
If I search for “custom”, I sometimes don’t want to get “customer”.
I’ve tried “OFS” or +ofs but nothing works.
Is there a specific syntax to get it (could be a good idea to have it in the
Query Parser Syntax) or do the guys at RSS Bandit have to modify something ?
Best regards
Serge
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1303 - Release Date: 28/02/2008
12:14
Re: Avoid stemming to get exact word in search results
Posted by Mathieu Lecarme <ma...@garambrogne.net>.
There's no syntax to restore stemmed word. Stemming is done while
reading the news, so the index never knows the complete word.
I submit a patch for that :
https://issues.apache.org/jira/browse/LUCENE-1190
Be careful, rssbandit use .net lucene, not the java version.
M.
secou a écrit :
> Hi,
>
>
>
> I’m using RSS Bandit feed reader (HYPERLINK
> "http://www.rssbandit.org"www.rssbandit.org) whose search engine is based on
> Lucene.
>
>
>
> I understand the interest of stemming but I sometimes want the exact word
> and not the stemmed one.
>
>
>
> For example a search with OFS (a company) gives plenty of responses with
> “of”.
>
>
>
> If I search for “custom”, I sometimes don’t want to get “customer”.
>
>
>
> I’ve tried “OFS” or +ofs but nothing works.
>
>
>
> Is there a specific syntax to get it (could be a good idea to have it in the
> Query Parser Syntax) or do the guys at RSS Bandit have to modify something ?
>
>
>
>
> Best regards
>
>
>
> Serge
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org