Hi Ariya,
DefaultSimilarity does not use raw term frequency, but instead it uses square
root of raw term frequency.
If you want to observe raw term frequency information in explain section, I
suggest you to play with
org.apache.lucene.search.similarities.SimilarityBase and its sub-classes.
ahme
Hi,
I am puzzled on the Term Frequency Behaviour of the DefaultSimilarity
implementation
I have suppressed the IDF by setting to 1.
TF-IDF would inturn reflect the same value as in Term Frequency
Below are the inferences:
Red coloured are expected to give a hit count(Term Frequency) of 2 but was