Examine Lucene Boost() but ignore IDF (inverse document frequency)
I'd like to boost by a doctype parameter, so that results are artificially ordered (boosted) by that type.
However, as lucene also scores by the document frequency, the type that I want to boost the the least ends up at the top of my results as there are less instances of that type.
Examine Lucene Boost() but ignore IDF (inverse document frequency)
I'd like to boost by a doctype parameter, so that results are artificially ordered (boosted) by that type. However, as lucene also scores by the document frequency, the type that I want to boost the the least ends up at the top of my results as there are less instances of that type.
so because external has only 1 doc compared to 50 originator, external ends up the top result.
Or maybe this just isn't something that lucene can do with it's tf/idf approach?
Did you ever find a solution for this?
Unfortunately not... There is a bit of a discussion started here... https://github.com/Shazwazza/Examine/issues/131
is working on a reply...