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

Method slop

redis/commands/search/query.py:156–161  ·  view source on GitHub ↗

Allow a maximum of N intervening non-matched terms between phrase terms (0 means exact phrase).

(self, slop: int)

Source from the content-addressed store, hash-verified

154 return self
155
156 def slop(self, slop: int) -> "Query":
157 """Allow a maximum of N intervening non-matched terms between
158 phrase terms (0 means exact phrase).
159 """
160 self._slop = slop
161 return self
162
163 def timeout(self, timeout: float) -> "Query":
164 """overrides the timeout parameter of the module"""

Callers 2

test_clientMethod · 0.80
test_clientMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_clientMethod · 0.64
test_clientMethod · 0.64