this change caused index optimization to fail.

This commit is contained in:
jonaswinkler 2020-11-30 21:53:39 +01:00
parent 1b0ddd6df6
commit b97fa9e3b9

View File

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