Update README.md
parent
7ce637d5cb
commit
4942c73aee
|
@ -47,7 +47,7 @@ writer.commit()
|
||||||
|
|
||||||
|
|
||||||
# Reload the index to ensure it points to the last commit.
|
# Reload the index to ensure it points to the last commit.
|
||||||
index.reload();
|
index.reload()
|
||||||
searcher = index.searcher()
|
searcher = index.searcher()
|
||||||
query = index.parse_query("fish days", ["title", "body"])
|
query = index.parse_query("fish days", ["title", "body"])
|
||||||
top_docs = tantivy.TopDocs(3)
|
top_docs = tantivy.TopDocs(3)
|
||||||
|
|
Loading…
Reference in New Issue