We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324e147 commit 86cbec8Copy full SHA for 86cbec8
README.md
@@ -66,8 +66,8 @@ client.add_document(
66
res = client.search("search engine")
67
68
# the result has the total number of results, and a list of documents
69
-print res.total # "1"
70
-print res.docs[0].title
+print(res.total) # "2"
+print(res.docs[0].title) # "RediSearch"
71
72
# Searching with complex parameters:
73
q = Query("search engine").verbatim().no_content().with_scores().paging(0, 5)
@@ -116,4 +116,4 @@ Finally, invoke the virtual environment and run the tests:
116
. ./venv3/bin/activate
117
REDIS_PORT=6379 python test/test.py
118
REDIS_PORT=6379 python test/test_builder.py
119
-```
+```
0 commit comments