Skip to content

Commit 338ef21

Browse files
authored
Update API.md
1 parent ca4e72d commit 338ef21

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

API.md

-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ res = client.search("search engine")
3232
print res.total # "1"
3333
print res.docs[0].title
3434

35-
# Searching with snippets
36-
res = client.search("search engine", snippet_sizes = {'body': 50})
37-
3835
# Searching with complext parameters:
3936
q = Query("search engine").verbatim().no_content().paging(0,5)
4037
res = client.search(q)
@@ -356,8 +353,6 @@ Search the index for a given query, and return a result of documents
356353

357354
- **query**: the search query. Either a text for simple queries with default parameters, or a Query object for complex queries.
358355
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-
361356

362357
## Class BatchIndexer
363358
A batch indexer allows you to automatically batch

0 commit comments

Comments
 (0)