MCPcopy
hub / github.com/redis/redis-py / with_scores

Method with_scores

redis/commands/search/query.py:286–289  ·  view source on GitHub ↗

Ask the engine to return document search scores.

(self)

Source from the content-addressed store, hash-verified

284 return self
285
286 def with_scores(self) -> "Query":
287 """Ask the engine to return document search scores."""
288 self._with_scores = True
289 return self
290
291 def limit_fields(self, *fields: str) -> "Query":
292 """

Calls

no outgoing calls

Tested by 8

test_scoresMethod · 0.64
test_scorerMethod · 0.64
test_scoresMethod · 0.64
test_scorerMethod · 0.64