Hi,
I've tried this "fair" similarity with lucene 2.2 but it does not seems to
work.
I've attached the custom "MyFair" similarity to bith IndexWriter and
IndexSearcher.
Do you have any idea ?
Thanks a lot,
Fabrice
Daniel Naber-5 wrote:
>
> Hi,
>
> as some of you may have noticed, Lucene p
Michael D. Curtin wrote:
Daniel Naber wrote:
Hi,
as some of you may have noticed, Lucene prefers shorter documents over
longer ones, i.e. shorter documents get a higher ranking, even if the
ratio "matched terms / total terms in document" is the same.
There's even more interesting kinds of
Daniel Naber wrote:
Hi,
as some of you may have noticed, Lucene prefers shorter documents over
longer ones, i.e. shorter documents get a higher ranking, even if the
ratio "matched terms / total terms in document" is the same.
For example, take these two artificial documents:
doc1: x 2 3 4 5