mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Introduce the AttrCount type
This commit is contained in:
parent
5b9fff6636
commit
11f3d7782d
7 changed files with 22 additions and 14 deletions
|
@ -63,3 +63,11 @@ pub struct Highlight {
|
|||
/// without needing to run the tokenizer again.
|
||||
pub char_length: u16,
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[cfg_attr(feature = "zerocopy", derive(AsBytes, FromBytes))]
|
||||
#[repr(C)]
|
||||
pub struct AttrCount {
|
||||
pub attr: u16,
|
||||
pub count: u16,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue