fixes to the search index

This commit is contained in:
jonaswinkler committed 2020-11-28 11:49:46 +01:00
1 parent a1f5ddede8
commit 52b3057640
2 files changed
+7 -4

No files matched your search

+3 -1
View File
@@ -12,7 +12,9 @@ from documents.sanity_checker import SanityFailedError
def index_optimize():
index.open_index().optimize()
ix = index.open_index()
with AsyncWriter(ix) as writer:
writer.commit(optimize=True)
def index_reindex():