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?
As far as I understood in the api documentation, DisjuntionMaxQuery with tie
breaker = 0 would do score = max(device, sound,technology) but tie breaker=
1 would do score=device + sound + technology.
MultiFieldQueryParser builds boolean queries, wich I thing work doing:
score=device + sound + technology
Am I correct?
--
View this message in context: http://old.nabble.com/DisjunctionMaxQuery-with-tie-breaker%3D1-same-as-MultiFieldQueryParser--tp27863102p27863102.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
View this message in context: http://old.nabble.com/DisjunctionMaxQuery-with-tie-breaker%3D1-same-as-MultiFieldQueryParser--tp27863102p27863102.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org