Skip to content

Commit

Permalink
[LUCENE-8343] minor documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrobenedetti committed Jun 7, 2018
1 parent cef9a22 commit 2b636e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solr/solr-ref-guide/src/suggester.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ Used to calculate weight coefficient using the position of the first matching wo
`position_linear`:::
`weightFieldValue * (1 - 0.10*position)`: Matches to the start will be given a higher score. This is the default.
`position_reciprocal`:::
`weightFieldValue / (1 + position)`: Matches to the start will be given a score which decay faster than linear.
`weightFieldValue / (1 + position)`: Matches to the start will be given a higher score. The score of matches positioned far from the start of the suggestion decays faster than linear.
`position_exponential_reciprocal`:::
`weightFieldValue / pow(1 + position,exponent)`: Matches to the start will be given a score which decay faster than reciprocal.
`weightFieldValue / pow(1 + position,exponent)`: Matches to the start will be given a higher score. The score of matches positioned far from the start of the suggestion decays faster than reciprocal.
`exponent`::::
An optional configuration variable for `position_reciprocal` to control how fast the score will decrease. Default `2.0`.
An optional configuration variable for `position_exponential_reciprocal` to control how fast the score will decrease. Default `2.0`.

`numFactor`::
The factor to multiply the number of searched elements from which results will be pruned. Default is `10`.
Expand Down

0 comments on commit 2b636e8

Please sign in to comment.