Hi Victor
You want to look at setting a similarity other than TF IDF. For example
here's BM25 Similarity
https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/similarities/BM25Similarity.html
And the "setSimilarity" method on IndexSearcher
https://lucene.apache.org/core/5_0_0/core/
Hi everybody!
I would appreciate if you can refer me to some *example *or explanation of
how to change the scoring function of lucene.
I would expect 2 options:
1. changing some configuration, so the ranking function becomes , say Okapi
BM 25 instead of standard similarity
2. Is there any provi