lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: document with different index time boost returns same score
Date Fri, 18 Dec 2009 18:26:12 GMT
The boost is stored in the index using a single byte, ie, heavily
quantized... that may explain what you are seeing?

If you make the boosts wildly different do you then see a score difference?

Mike

On Fri, Dec 18, 2009 at 12:40 PM, prabin meitei <prabin.meitei@gmail.com> wrote:
> Hi,
>   I have an index in which documents are inserted with different boost
> during indexing.
> eg.
> doc1 has boost 5.64
> doc2 has boost 5.25
> doc3 has boost 5.10
> doc4 has boost 4.8
> doc5 has boost 4.4
> doc6 has boost 4.0
> and so on... some documents even having boost only 1.0
>
> when i search the index for a term which occur only once in these documents
> i expected that the final scores of the search hit will differ according to
> the document boost set during indexing.
> But surprisingly i found that doc1, doc2 and doc3 have same score (even the
> raw score) and doc4 and doc5 have same score.
>
> I even tried changing index time boost to 564, 525, 510 .. and so on for
> doc1, doc2 doc3 and so on... but it still returned same result.
>
> Can anyone explain what is happening? why the scores are same even when the
> index time boost was different. Is there any other way to implement my
> expected result.
> any help will be highly appreciated.
>
> Prabin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message