Remove the AttrCount type

Could probably be reintroduced later
This commit is contained in:
Clément Renault 2019-12-13 11:46:53 +01:00
parent 7d67750865
commit 4be23efe66
No known key found for this signature in database
GPG Key ID: 0151CDAB43460DAE
2 changed files with 1 additions and 9 deletions

View File

@ -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};

View File

@ -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,
}