> Any tips on how to stem the search query text?

Take a look at
org.apache.nutch.searcher.Query

Thanks for the tips. I think I have something that works
for me. I ended up creating a QueryFilter called
StemmerQueryFilter. It's based off of BasicQueryFilter.
I just run the stemmer on the phrases/terms of the query
by passing a StringReader to PorterStemFilter. I also
had to add PorterStemFilter to the TokenStream in
CommonGrams.optimizePhrase. The other change
I mentioned previously was adding the PorterStemFilter
to NutchDocumentAnalysis.tokenStream.

If anyone is interested in the changes, let me know
and I'll send them to you. Or maybe it's worth slapping
onto the Wiki.

Howie


Reply via email to