> 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
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general