Hi everyone,
I searched an index with 3 its' fields({"name", "addr", "fullname"}), and used
DisjunctionMaxQuery to rank the results by the max score of 3 fields. When the
hits have same score, lucene would rank by doc Id(low doc Id would be front).
But I don't want rank by doc Id in that ca
: First, a quick check on how to use it.
: I tried looking for javadocs, and the mailing list archive, but could not
: find much.
the javadocs seem pretty clear to me...
"A query that generates the union of documents produced by its subqueries,
and that scores each document with the maximum scor
I am trying to use org.apache.lucene.search.DisjunctionMaxQuery
First, a quick check on how to use it.
I tried looking for javadocs, and the mailing list archive, but could not
find much.
Here is what I am doing :
//finalquery is a boolean query, that has a lot of field specific
sub-queries, eac