Thanks Hoss for the useful info. Acording the coord(q,d) definition it's calculated at document level. It's said: 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 not)
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: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > -- View this message in context: http://old.nabble.com/DisjunctionMaxQuery-with-tie-breaker%3D1-same-as-MultiFieldQueryParser--tp27863102p27883929.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org