Thanks a lot, Umesh!
2011/1/24 Umesh Prasad :
> DisjunctionMaxQuery may be one you are looking for.
> http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/DisjunctionMaxQuery.html
> *This is useful when searching for a word in multiple fields with
> different boost factors (so that
DisjunctionMaxQuery may be one you are looking for.
http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/DisjunctionMaxQuery.html
*This is useful when searching for a word in multiple fields with
different boost factors (so that the fields cannot be combined equivalently
into a sing
Hi!
My index contains a few (really 7) fields and I need to search by all
of them. I use BooleanQuery and seven TermQueries added to this one.
Problem: result must to be sorted by max(field.boost), not by Lucene’s
default formula.
I think, for this I need to implement MySimilarity (it will simply
r