lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: How to get the un-stemed word
Date Fri, 08 Jul 2005 15:01:22 GMT

On Jul 8, 2005, at 9:08 AM, Andrew Boyd wrote:

> Hi all,
>   I am using the snowball stemmer and for all my searches that  
> works fine.
> However,  I have a need to display the un-stemmed word after doing  
> some term vector analysis.
> I was thinking that I might insert the real word at the same  
> position as the stemed word but give
> the real word a type of say "r-word".  My question is how can I get  
> the r-word from the TermVectors?
> If there is not a way to get it from the TermVector is there a way  
> to search/retrieve by token type?

Currently token type is not stored in the index - it is used solely  
during analysis but does not go any further.

It would be quite cool for that type to carry into the index and be  
surfaced for searching.

You will need to develop another approach, perhaps using two  
different indexes, or two different fields.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message