Remove useless geo skipped

This commit is contained in:
Clément Renault 2024-11-21 15:58:51 +01:00
parent 9b60843831
commit 5727e00374
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F
3 changed files with 2 additions and 3 deletions

View File

@ -415,6 +415,6 @@ impl WordDocidsExtractors {
}
fn attributes_to_skip<'a>(_rtxn: &'a RoTxn, _index: &'a Index) -> Result<Vec<&'a str>> {
Ok(vec!["_geo"])
Ok(Vec::new())
}
}

View File

@ -25,7 +25,7 @@ impl SearchableExtractor for WordPairProximityDocidsExtractor {
}
fn attributes_to_skip<'a>(_rtxn: &'a RoTxn, _index: &'a Index) -> Result<Vec<&'a str>> {
Ok(vec!["_geo"])
Ok(Vec::new())
}
// This method is reimplemented to count the number of words in the document in each field

View File

@ -103,7 +103,6 @@ where
// prevent moving the field_distribution and document_ids in the inner closure...
let field_distribution = &mut field_distribution;
let document_ids = &mut document_ids;
// TODO manage the errors correctly
let extractor_handle = Builder::new().name(S("indexer-extractors")).spawn_scoped(s, move || {
let span = tracing::trace_span!(target: "indexing::documents", parent: &indexer_span, "extract");
let _entered = span.enter();