Compare commits

...

1 Commits

Author SHA1 Message Date
Paul Masurel
dce6adc4b6 Revert "add index accessor for index writer (#1159)"
This reverts commit b256df6599.
2021-09-23 21:49:34 +09:00

View File

@@ -348,13 +348,6 @@ impl IndexWriter {
self.operation_sender = sender;
}
/// Accessor to the index
///
/// The index is actually cloned.
pub fn index(&self) -> &Index {
&self.index
}
/// If there are some merging threads, blocks until they all finish their work and
/// then drop the `IndexWriter`.
pub fn wait_merging_threads(mut self) -> crate::Result<()> {