Confirmed, supposition 2 is the right one. Erick Erickson wrote: > > Have you looked at: > http://lucene.apache.org/java/2_4_0/scoring.html > > <http://lucene.apache.org/java/2_4_0/scoring.html>even though it's for > 2.4, > I don't think there's any relevant changes for 3.x... > > I'm pretty sure that your supposition 2 is the right one. > > HTH > Erick > > On Tue, Mar 16, 2010 at 2:58 PM, Marc Sturlese > <marc.sturl...@gmail.com>wrote: > >> >> I would like to know how Lucene deals with the score on multiValued >> fields. >> I am wandering if: >> 1) a score is computed per field and the maximum between them wins >> or >> 2)all terms of all fields (from the multivalued field) influence >> eachother >> to compute the score >> >> Let's say I have a document with a multiValued field "content" indexed 3 >> times and another document with the field indexed just once >> >> Doc1: content->aa; content->bb; content->dd ff gg >> Doc2: content->aa b >> >> Searching for content:aa, Doc1 would be more relevant if supososition 1) >> is >> correct. Doc2 would be more relevant if suposition 2) is correct >> How does it work? >> Thanks in advance >> >> >> >> -- >> View this message in context: >> http://old.nabble.com/score-and-multiValued-fields-tp27922940p27922940.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 >> >> > >
-- View this message in context: http://old.nabble.com/score-and-multiValued-fields-tp27922940p27929937.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