Fix the facet string levels codecs

This commit is contained in:
Clément Renault
2021-07-04 18:09:53 +02:00
committed by Kerollmops
parent 8c86348119
commit 5676b204dd
2 changed files with 48 additions and 2 deletions

View File

@ -286,6 +286,10 @@ impl<'s, A: AsRef<[u8]>> Store<'s, A> {
value: String,
id: DocumentId,
) -> Result<()> {
if value.is_empty() {
return Ok(());
}
let sorter = &mut self.field_id_docid_facet_strings_sorter;
Self::write_field_id_docid_facet_string_value(sorter, field_id, id, &value)?;