Specify index_mapper on IndexStats

This commit is contained in:
Louis Dureuil 2024-07-31 17:11:28 +02:00
parent 25791e3f46
commit 48f7329a83
No known key found for this signature in database

View File

@ -108,8 +108,10 @@ pub struct IndexStats {
/// Association of every field name with the number of times it occurs in the documents.
pub field_distribution: FieldDistribution,
/// Creation date of the index.
#[serde(with = "time::serde::rfc3339")]
pub created_at: OffsetDateTime,
/// Date of the last update of the index.
#[serde(with = "time::serde::rfc3339")]
pub updated_at: OffsetDateTime,
}