Update function-score-query.asciidoc
Make explanatory text match value used in example body Closes #16165
This commit is contained in:
parent
fa4e6020cd
commit
f402f427cc
|
@ -300,9 +300,9 @@ location field. You want to compute a decay function depending on how
|
||||||
far the hotel is from a given location. You might not immediately see
|
far the hotel is from a given location. You might not immediately see
|
||||||
what scale to choose for the gauss function, but you can say something
|
what scale to choose for the gauss function, but you can say something
|
||||||
like: "At a distance of 2km from the desired location, the score should
|
like: "At a distance of 2km from the desired location, the score should
|
||||||
be reduced by one third."
|
be reduced to one third."
|
||||||
The parameter "scale" will then be adjusted automatically to assure that
|
The parameter "scale" will then be adjusted automatically to assure that
|
||||||
the score function computes a score of 0.5 for hotels that are 2km away
|
the score function computes a score of 0.33 for hotels that are 2km away
|
||||||
from the desired location.
|
from the desired location.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue