searcher: Remove the unused schema.
parent
c8775c69cc
commit
a5ac1a5463
|
@ -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(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue