mirror of https://github.com/apache/lucene.git
[LUCENE-8343] minor documentation fixes
This commit is contained in:
parent
cef9a2283e
commit
2b636e8c3a
|
@ -198,11 +198,11 @@ Used to calculate weight coefficient using the position of the first matching wo
|
||||||
`position_linear`:::
|
`position_linear`:::
|
||||||
`weightFieldValue * (1 - 0.10*position)`: Matches to the start will be given a higher score. This is the default.
|
`weightFieldValue * (1 - 0.10*position)`: Matches to the start will be given a higher score. This is the default.
|
||||||
`position_reciprocal`:::
|
`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`:::
|
`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`::::
|
`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`::
|
`numFactor`::
|
||||||
The factor to multiply the number of searched elements from which results will be pruned. Default is `10`.
|
The factor to multiply the number of searched elements from which results will be pruned. Default is `10`.
|
||||||
|
|
Loading…
Reference in New Issue