Add missing logging timer to extractors

This commit is contained in:
vishalsodani 2022-09-30 22:17:06 +05:30
parent 804db03e41
commit 00c02d00f3

View File

@ -12,6 +12,7 @@ use crate::{FieldId, InternalError, Result};
/// Extracts the geographical coordinates contained in each document under the `_geo` field.
///
/// Returns the generated grenad reader containing the docid as key associated to the (latitude, longitude)
#[logging_timer::time]
pub fn extract_geo_points<R: io::Read + io::Seek>(
obkv_documents: grenad::Reader<R>,
indexer: GrenadParameters,