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 Joel Bernstein <j....@ei.org> on 2002/05/02 22:15:04 UTC
Stemming
In our search application the user can turn stemming off and on.
With Lucene will I have to maintain two sets of indexes to create this functionality, one
stemming and one non-stemming index?
Or
Is there a way to query a stemming index so that it does not return stems?
Thanks,
Joel
Re: Stemming
Posted by Otis Gospodnetic <ot...@yahoo.com>.
You could have a single index with both stemmed and non-stemmed terms,
using different field names for each and searching a different set of
fields depending on the type of search.
You'd also have to use 2 types of analyzers/filters, I think.
Roughly.... :)
Otis
--- Joel Bernstein <j....@ei.org> wrote:
> In our search application the user can turn stemming off and on.
>
> With Lucene will I have to maintain two sets of indexes to create
> this functionality, one
> stemming and one non-stemming index?
>
> Or
>
> Is there a way to query a stemming index so that it does not return
> stems?
>
>
> Thanks,
> Joel
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>