Re: How to ignore term frequency 1? Field-specific Similarity class?

2010-01-08 Thread Chris Hostetter
: I want to modify scoring to ignore term frequency 1. This is useful ... : fields. What's the best way to do this? Is there a way to use a : field-specific similarity class, or to evaluate field names/parameters : inside a Similarity class? The Similarity API let's you customize the

How to ignore term frequency 1? Field-specific Similarity class?

2010-01-06 Thread Andreas Schwarz
Hi, I want to modify scoring to ignore term frequency 1. This is useful for short fields like titles or subjects, where the number of times a term appears does not correspond to relevancy. I found several discussions of this problem, and also an implementation that changes the Similarity