diff --git a/src/index.rs b/src/index.rs index 07912cd..c7760bc 100644 --- a/src/index.rs +++ b/src/index.rs @@ -132,7 +132,7 @@ impl IndexWriter { ))) } }; - Ok(self.inner_index_writer.delete_term(term.clone())) + Ok(self.inner_index_writer.delete_term(term)) } }