Introduce the AttrCount type

This commit is contained in:
Clément Renault 2019-11-27 17:01:23 +01:00 committed by Clément Renault
parent 5b9fff6636
commit 11f3d7782d
No known key found for this signature in database
GPG key ID: 0151CDAB43460DAE
7 changed files with 22 additions and 14 deletions

View file

@ -12,7 +12,7 @@ fn number_exact_matches(
query_index: &[u32],
attribute: &[u16],
is_exact: &[bool],
fields_counts: &Set<(SchemaAttr, u64)>,
fields_counts: &Set<(SchemaAttr, u16)>,
) -> usize {
let mut count = 0;
let mut index = 0;