Re: Scoring Across Multiple Fields

2020-01-27 Thread Michael Froh
Hi John, A TermQuery produces a scorer that can compute similarity for a given term value against a given field, in the context of the index, so as you say, it produces a score for one field. If you want to match a given term value across multiple fields, indeed you could use a BooleanQuery with

Scoring Across Multiple Fields

2020-01-27 Thread John Brown
Hi, I have a question regarding how Lucene computes document similarities from field similarities. Lucene's scoring documentation mentions that scoring works on fields and combines the results to return documents. I'm assuming fields are given scores, and those scores are simply averaged to retur