You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/04/15 17:53:05 UTC

[Solr Wiki] Update of "DisMaxQParserPlugin" by TomBurtonWest

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DisMaxQParserPlugin" page has been changed by TomBurtonWest.
http://wiki.apache.org/solr/DisMaxQParserPlugin?action=diff&rev1=6&rev2=7

--------------------------------------------------

  === tie (Tie breaker) ===
  Float value to use as tiebreaker in !DisjunctionMaxQueries (should be something much less than 1)
  
- When a term from the users input is tested against multiple fields, more than one field may match and each field will generate a different score based on how common that word is in that field (for each document relative to all other documents).  The "tie" param let's you configure how much the final score of the query will be influenced by the scores of the lower scoring fields compared to the highest scoring field.
+ When a term from the users input is tested against multiple fields, more than one field may match and each field will generate a different score based on how common that word is in that field (for each document relative to all other documents). By default the score from the field with the maximum score is used.  If two documents both have a matching score, the tie parameter has the effect of breaking the tie.
+ When a tie parameter is specified the scores from other matching fields are added to the score of the maximum scoring field: 
+ 
+ (score of matching clause with the highest score) + ( (tie paramenter) * (scores of any other matching clauses) )
+ 
+ The "tie" param let's you configure how much the final score of the query will be influenced by the scores of the lower scoring fields compared to the highest scoring field.
  
  A value of "0.0" makes the query a pure "disjunction max query" -- only the maximum scoring sub query contributes to the final score.  A value of "1.0" makes the query a pure "disjunction sum query" where it doesn't matter what the maximum scoring sub query is, the final score is the sum of the sub scores.  Typically a low value (ie: 0.1) is useful.