diff --git a/en/phased-ranking.html b/en/phased-ranking.html index 04abf0e9de..a4b7b7c630 100644 --- a/en/phased-ranking.html +++ b/en/phased-ranking.html @@ -48,7 +48,7 @@ -
Normally, you will always start by having one ranking expression that is evaluated on the content nodes. This is configured in @@ -67,7 +67,7 @@
While some use cases only require one (simple) first-phase ranking expression, for more advanced use cases it's possible to @@ -111,9 +111,9 @@
- Using a rank expressions configured as a
+ Using a rank expression configured as a
global-phase
in the rank-profile
section of a schema, you can add
a ranking phase that will run in the stateless container after
@@ -208,7 +208,7 @@
In the above example, the my_expensive_function will be evaluated on the content nodes - for the 50 top ranking documents from the first-phase so that the global-phase does not need to re-evaluate. + for the 50 top-ranking documents from the first-phase so that the global-phase does not need to re-evaluate.
@@ -232,10 +232,10 @@
- The normalize_linear
normalizer takes a single argument which must be
+ The normalize_linear
normalizer takes a single argument, which must be
a rank-feature or the name of a function. It computes the maximum and minimum
values of that input and scales linearly to the range [0, 1], basically using
the formula output = (input - min) / (max - min)
@@ -265,9 +265,9 @@
reciprocal_rank
normalizer takes one or two arguments; the first
must be a rank-feature or the name of a function, while the second (if present)
must be a numerical constant, called k
with default value 60.0.
- It sorts the input values and finds their rank (so highest score gets
+ It sorts the input values and finds their rank (so the highest score gets
rank 1, next highest 2, and so on). The output from reciprocal_rank is computed
- with the formula output = 1.0 / (k + rank)
so note that even the best
+ with the formula output = 1.0 / (k + rank)
, so note that even the best
input only gets 1.0 / 61 = 0.016393
as output with the default k.
@@ -302,9 +302,9 @@
The nearest neighbor search operator is also a top-k - retrieval operator and the two operators can be combined in the same query. + retrieval operator, and the two operators can be combined in the same query.
@@ -329,9 +329,9 @@- The framework is flexible in use, the normal use case is: + The framework is flexible in use; the normal use case is:
field match_count type long { - indexing: 7 | to_long | attribute | summary # Initialized to 7 for a new document. Default is 0. + indexing: 7 | to_long | attribute | summary # Initialized to 7 for a new document. The default is 0. attribute: mutable }