feat(index): store fields distribution in index

This commit is contained in:
Alexey Shekhirin
2021-03-31 18:14:23 +03:00
parent 67e25f8724
commit 27c7ab6e00
5 changed files with 45 additions and 26 deletions

View File

@ -183,7 +183,7 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> {
Ok(true)
}
/// Udpates the index's searchable attributes. This causes the field map to be recomputed to
/// Updates the index's searchable attributes. This causes the field map to be recomputed to
/// reflect the order of the searchable attributes.
fn update_searchable(&mut self) -> anyhow::Result<bool> {
match self.searchable_fields {