lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hannes <han...@hcmeyer.com>
Subject Storing Stemmed and Original Tokens
Date Mon, 22 Jan 2007 12:31:31 GMT
Hi All,

I'm using the SnowballAnalyzer to "stemm" tokens - which is working fine!

Now I got the requirement to also keep the original Tokens in the index 
for search. According to this 
http://mail-archives.apache.org/mod_mbox/lucene-java-user/200302.mbox/%3C187D6D956106D84E9D8B280F6458FE140F5B2A@merc12.na.sas.com%3E

Mail, I extended the SnowballAnalyzer
in the way Eric described it.

Does anyone has experience in storing stemmed and original tokens in the 
same field and same position? Is it the "right" way to do it?

I also found some Discussions about storing stemmed tokens in an extra 
field, but that would mean I would have to rewrite the query ...


thanks
hannes

---------------------------------------------------------------------
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