lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: problem in Lucene's ranking function
Date Wed, 05 May 2010 20:11:46 GMT
2010/5/5 José Ramón Pérez Agüera <jose.aguera@gmail.com>:
[...]
> The consequence is that a document
> matching a single query term over several fields could score much
> higher than a document matching several query terms in one field only,

One partial workaround that people use is DisjunctionMaxQuery (used by
"dismax" query parser in Solr).
http://lucene.apache.org/java/2_0_0/api/org/apache/lucene/search/DisjunctionMaxQuery.html

-Yonik
Apache Lucene Eurocon 2010
18-21 May 2010 | Prague

---------------------------------------------------------------------
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