diff --git a/internal/core/thirdparty/tantivy/tantivy-wrapper.h b/internal/core/thirdparty/tantivy/tantivy-wrapper.h index 5dc3df93231ab..9577429fde1c2 100644 --- a/internal/core/thirdparty/tantivy/tantivy-wrapper.h +++ b/internal/core/thirdparty/tantivy/tantivy-wrapper.h @@ -192,6 +192,7 @@ struct TantivyIndexWrapper { tantivy_finish_index(writer_); writer_ = nullptr; reader_ = tantivy_load_index(path_.c_str()); + finished_ = true; } }