Hi,
I have some questions about the scoring function and about how different
scores can be compared.
I use Lucene for indexing an archive of the web.
/archive/day1/differentsites => indexday1
/archive/day2/differentsites => indexday2
/archive/day3/differentsites => indexday3
/archive/day4/differ
Am Freitag, den 01.12.2006, 11:54 -0800 schrieb Chris Hostetter:
> the short answer is you can't, not with the DefaultSimilarity, but you
> might be able to write a custom Similarity that makes the scores
> comparable by making the idf function a NOOP (of course, then your scores
> won't be as
Hi,
this is a short beginner question:
I am searching for something in my program
Hits hits = MySearcher.search(queryStr, searchRes.indexPath);
Now I only want the Document with the highest score.
Is there a better way, then iterating through all hits?
The Hits objects seems to be not sorted.
Am Donnerstag, den 04.01.2007, 14:38 -0600 schrieb Dennis Kubes:
> Hits should be sorted according to score. Getting the first document
> should give you the one with the highest score.
>
> Dennis
Hi
thanks for your comment,
I found the mistake.
Now the Hits are sorted.
Nil