diff --git a/src/index.rs b/src/index.rs index 6a05012..a59d2f0 100644 --- a/src/index.rs +++ b/src/index.rs @@ -268,7 +268,6 @@ impl Index { fn searcher(&self) -> Searcher { Searcher { inner: self.reader.searcher(), - schema: self.index.schema(), } } diff --git a/src/searcher.rs b/src/searcher.rs index 243c2b4..20868e0 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -15,7 +15,6 @@ use tantivy::collector::{Count, MultiCollector, TopDocs}; #[pyclass] pub(crate) struct Searcher { pub(crate) inner: tv::LeasedItem, - pub(crate) schema: tv::schema::Schema, } #[pyclass]