lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Sturlese <>
Subject Re: DisjunctionMaxQuery with tie breaker=1 same as MultiFieldQueryParser?
Date Fri, 12 Mar 2010 22:57:58 GMT

Thanks Hoss for the useful info.

Acording the coord(q,d) definition it's calculated at document level. It's
is a score factor based on how many of the query terms are found in the
specified document
If I am just searching for a term, "ipod" in this case, how would be coord
computed? Would in this case coord(q,d) matter at all? (I understand that

In case I search for 2 terms in 2 fields but making compulsory for both
terms to appear in at least one of the fields, would coord matter? (I
understand that not)

As far as I understant documentation, coord just matters when you are not
doing a pure AND between the query terms you want to search.

Am I correct?  

hossman wrote:
> : If I want to search let's say "ipod" in three different fields (device,
> : sound,technology)
> : Would be the same to use a DisjunctionMaxQuery with the tie braker = 1
> than
> : to use a MultiFieldQueryParser with and OR to build the boolean queries?
> strictly speaking even with tie breaker of 1, a DisjuctionMaxQuery differs 
> from a BooleanQuery in the details of how the score is calculated when a 
> document matches *some* of the subclasses, but not all  ..  there is no 
> "coord" concept in DisjunctionMaxQuery.
> If you look at the explain output of various queries agaisnt various docs 
> you'll see what i mean.
> -Hoss
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message