Use the facet string levels when computing the facet distribution

This commit is contained in:
Clément Renault
2021-07-04 18:11:26 +02:00
committed by Kerollmops
parent 5676b204dd
commit 081278dfd6
3 changed files with 27 additions and 4 deletions

View File

@ -192,7 +192,7 @@ impl<'t> Iterator for FacetStringGroupRange<'t> {
};
if must_be_returned {
match docids.decode() {
Ok(docids) => Some(Ok(((level, left, right), docids))),
Ok((bounds, docids)) => Some(Ok(((level, left, right), (bounds, docids)))),
Err(e) => Some(Err(e)),
}
} else {