Fix bugs in asc/desc criterion and facet indexing

This commit is contained in:
Loïc Lecrenier
2022-09-01 12:51:54 +02:00
committed by Loïc Lecrenier
parent a7201ece04
commit afdf87f6f7
2 changed files with 3 additions and 2 deletions

View File

@ -197,9 +197,10 @@ fn facet_ordered<'t>(
field_id,
candidates.clone(),
)?;
let string_iter = make_iter(
rtxn,
index.facet_id_f64_docids.remap_key_type::<FacetKeyCodec<MyByteSlice>>(),
index.facet_id_string_docids.remap_key_type::<FacetKeyCodec<MyByteSlice>>(),
field_id,
candidates,
)?;