Skip to content

Commit ecb2d1d

Browse files
committed
Update the admin. overview page
1 parent cf2a5e5 commit ecb2d1d

File tree

1 file changed

+16
-2
lines changed
  • content/develop/ai/search-and-query/administration

1 file changed

+16
-2
lines changed

content/develop/ai/search-and-query/administration/overview.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,23 @@ These are the pre-bundled scoring functions available in Redis:
239239
*
240240
Identical to the default TFIDF scorer, with one important distinction:
241241

242-
* **BM25**
242+
* **BM25STD (default)**
243243

244-
A variation on the basic TF-IDF scorer. See [this Wikipedia article for more information](https://en.wikipedia.org/wiki/Okapi_BM25).
244+
A variation on the basic `TFIDF` scorer, see [this Wikipedia article for more info](https://en.wikipedia.org/wiki/Okapi_BM25).
245+
246+
The relevance score for each document is multiplied by the presumptive document score and a penalty is applied based on slop as in `TFIDF`.
247+
248+
{{ note }}
249+
The `BM25` scorer was renamed `BM25STD` in Redis Open Source 8.4. `BM25` is deprecated.
250+
{{ /note }}
251+
252+
* **BM25STD.NORM**
253+
254+
A variation of `BM25STD`, where the scores are normalized by the minimum and maximum score.
255+
256+
* **BM25STD.TANH**
257+
258+
A variation of `BM25STD.NORM`, where the scores are normalised by linear function `tanh(x)`. `BMSTDSTD.TANH` can take an optional argument, `BM25STD_TANH_FACTOR Y`, which is used to smooth the function and the score values. The default value for `Y` is 4.
245259

246260
* **DISMAX**
247261

0 commit comments

Comments
 (0)