Closed
Description
I've encountered several documentation issues.
In tantivy.py
, the comment documentation for the Snippet class is incorrect.
Additionally, after implementing a piece of code for adding indexes based on the example, I faced a "ValueError: An error occurred in a thread: 'An index writer was killed.. A worker thread encountered an error (io::Error most likely) or panicked.'" after calling index writer.commit()
tens of thousands of times. However, the issue was resolved after following the example in the tests directory, where writer.wait_merging_threads()
is called after multiple commits. I am not sure if this is an issue on my end, but if it's not, then the documentation should be updated to clarify this process. Thank you for your work!