Update README.md

master
Dmitrii Gerasimov 2019-10-06 21:59:08 +01:00 committed by GitHub
parent 7ce637d5cb
commit 4942c73aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ writer.commit()
# Reload the index to ensure it points to the last commit.
index.reload();
index.reload()
searcher = index.searcher()
query = index.parse_query("fish days", ["title", "body"])
top_docs = tantivy.TopDocs(3)