mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-10-30 01:38:49 +01:00
Fix facet string indexing
This commit is contained in:
parent
4e97e38177
commit
a525598ad6
@ -182,7 +182,8 @@ impl FacetedDocidsExtractor {
|
||||
// String
|
||||
// key: fid - level - truncated_string
|
||||
Value::String(s) => {
|
||||
let truncated = truncate_str(s);
|
||||
let normalized = crate::normalize_facet(s);
|
||||
let truncated = truncate_str(&normalized);
|
||||
buffer.clear();
|
||||
buffer.push(FacetKind::String as u8);
|
||||
buffer.extend_from_slice(&fid.to_be_bytes());
|
||||
|
Loading…
Reference in New Issue
Block a user