diff --git a/meilisearch-core/src/lib.rs b/meilisearch-core/src/lib.rs index ad16182a1..a4dedbb20 100644 --- a/meilisearch-core/src/lib.rs +++ b/meilisearch-core/src/lib.rs @@ -28,7 +28,7 @@ pub use self::ranked_map::RankedMap; pub use self::raw_document::RawDocument; pub use self::store::Index; pub use self::update::{EnqueuedUpdateResult, ProcessedUpdateResult, UpdateStatus, UpdateType}; -pub use meilisearch_types::{DocIndex, DocumentId, Highlight, AttrCount}; +pub use meilisearch_types::{DocIndex, DocumentId, Highlight}; use compact_arena::SmallArena; use crate::bucket_sort::{QueryWordAutomaton, PostingsListView}; diff --git a/meilisearch-types/src/lib.rs b/meilisearch-types/src/lib.rs index 3419c61fd..c02281a5f 100644 --- a/meilisearch-types/src/lib.rs +++ b/meilisearch-types/src/lib.rs @@ -63,11 +63,3 @@ 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, -}