searcher: Remove the unused schema.

master
Damir Jelić 2020-01-05 14:08:57 +01:00
parent c8775c69cc
commit a5ac1a5463
2 changed files with 0 additions and 2 deletions

View File

@ -268,7 +268,6 @@ impl Index {
fn searcher(&self) -> Searcher { fn searcher(&self) -> Searcher {
Searcher { Searcher {
inner: self.reader.searcher(), inner: self.reader.searcher(),
schema: self.index.schema(),
} }
} }

View File

@ -15,7 +15,6 @@ use tantivy::collector::{Count, MultiCollector, TopDocs};
#[pyclass] #[pyclass]
pub(crate) struct Searcher { pub(crate) struct Searcher {
pub(crate) inner: tv::LeasedItem<tv::Searcher>, pub(crate) inner: tv::LeasedItem<tv::Searcher>,
pub(crate) schema: tv::schema::Schema,
} }
#[pyclass] #[pyclass]