FAQ
: If a BooleanQuery is created as the addition of two TermQuery
...
: The score for this BooleanQuery is double (around 6) when the compared
: document has the field ?pets? with these two values, but we want that
: the score is only 3, although there is more than one coincidence.
...
: Is there some way to do this?

Yes, you'll want to take a look at the documentation on scoring and
Similarity...

http://lucene.apache.org/java/docs/scoring.html
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/package-summary.html#changingSimilarity



-Hoss


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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedApr 25, '07 at 12:23p
activeApr 27, '07 at 11:30p
posts2
users2
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase