: The easiest way to change the tf calculation would be overwriting
: tf in an own implementation of Similarity like it's done in
: SweetSpotSimilarity. But the average term frequency of the
: document is missing. Is there a simple way to get or calc this
: number?
there was quite a bit of discus
Hi,
i'd like to use the term frequency normalization described in
http://wiki.apache.org/lucene-java/TREC%202007%20Million%20Queries%20Track%20-%20IBM%20Haifa%20Team
so that the term frequency tf becomes
tf(f, d) = log(1 + feq(t, d)) / log(1 + avgFreq(d))
The easiest way to change t
Hi,
i'd like to use the term frequency normalization described in
http://wiki.apache.org/lucene-java/TREC%202007%20Million%20Queries%20Track%20-%20IBM%20Haifa%20Team
so that the term frequency tf becomes
tf(f, d) = log(1 + feq(t, d)) / log(1 + avgFreq(d))
The easiest way to change t