File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ res = client.search("search engine")
32
32
print res.total # "1"
33
33
print res.docs[0 ].title
34
34
35
- # Searching with snippets
36
- res = client.search(" search engine" , snippet_sizes = {' body' : 50 })
37
-
38
35
# Searching with complext parameters:
39
36
q = Query(" search engine" ).verbatim().no_content().paging(0 ,5 )
40
37
res = client.search(q)
@@ -356,8 +353,6 @@ Search the index for a given query, and return a result of documents
356
353
357
354
- ** query** : the search query. Either a text for simple queries with default parameters, or a Query object for complex queries.
358
355
See RediSearch's documentation on query format
359
- - ** snippet_sizes** : A dictionary of {field: snippet_size} used to trim and format the result. e.g.e {'body': 500}
360
-
361
356
362
357
## Class BatchIndexer
363
358
A batch indexer allows you to automatically batch
You can’t perform that action at this time.
0 commit comments