You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/develop/ai/redisvl/api/query.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,8 @@ Add fields to return fields.
174
174
Use a different scoring function to evaluate document relevance.
175
175
Default is TFIDF.
176
176
177
+
Since Redis 8.0 default was changed to BM25STD.
178
+
177
179
***Parameters:**
178
180
**scorer** (*str*) – The scoring function to use
179
181
(e.g. TFIDF.DOCNORM or BM25)
@@ -488,6 +490,8 @@ Add fields to return fields.
488
490
Use a different scoring function to evaluate document relevance.
489
491
Default is TFIDF.
490
492
493
+
Since Redis 8.0 default was changed to BM25STD.
494
+
491
495
***Parameters:**
492
496
**scorer** (*str*) – The scoring function to use
493
497
(e.g. TFIDF.DOCNORM or BM25)
@@ -934,7 +938,7 @@ A query for running a full text search, along with an optional filter expression
934
938
***text_field_name** (*str*) – The name of the document field to perform text search on.
935
939
***text_scorer** (*str**,**optional*) – The text scoring algorithm to use.
936
940
Defaults to BM25STD. Options are {TFIDF, BM25STD, BM25, TFIDF.DOCNORM, DISMAX, DOCSCORE}.
937
-
See [https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/scoring/](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/scoring/)
941
+
See [https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/scoring/](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/scoring/)
938
942
***filter_expression** (*Union**[**str**,*[*FilterExpression*]({{< relref "filter/#filterexpression" >}}) *]**,**optional*) – A filter to apply
939
943
along with the text search. Defaults to None.
940
944
***return_fields** (*List**[**str**]*) – The declared fields to return with search
@@ -1070,6 +1074,8 @@ Add fields to return fields.
1070
1074
Use a different scoring function to evaluate document relevance.
1071
1075
Default is TFIDF.
1072
1076
1077
+
Since Redis 8.0 default was changed to BM25STD.
1078
+
1073
1079
***Parameters:**
1074
1080
**scorer** (*str*) – The scoring function to use
1075
1081
(e.g. TFIDF.DOCNORM or BM25)
@@ -1282,6 +1288,8 @@ Add fields to return fields.
1282
1288
Use a different scoring function to evaluate document relevance.
1283
1289
Default is TFIDF.
1284
1290
1291
+
Since Redis 8.0 default was changed to BM25STD.
1292
+
1285
1293
***Parameters:**
1286
1294
**scorer** (*str*) – The scoring function to use
1287
1295
(e.g. TFIDF.DOCNORM or BM25)
@@ -1499,6 +1507,8 @@ Add fields to return fields.
1499
1507
Use a different scoring function to evaluate document relevance.
0 commit comments