mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Remove the AttrCount type
Could probably be reintroduced later
This commit is contained in:
parent
7d67750865
commit
4be23efe66
@ -28,7 +28,7 @@ pub use self::ranked_map::RankedMap;
|
|||||||
pub use self::raw_document::RawDocument;
|
pub use self::raw_document::RawDocument;
|
||||||
pub use self::store::Index;
|
pub use self::store::Index;
|
||||||
pub use self::update::{EnqueuedUpdateResult, ProcessedUpdateResult, UpdateStatus, UpdateType};
|
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 compact_arena::SmallArena;
|
||||||
use crate::bucket_sort::{QueryWordAutomaton, PostingsListView};
|
use crate::bucket_sort::{QueryWordAutomaton, PostingsListView};
|
||||||
|
@ -63,11 +63,3 @@ pub struct Highlight {
|
|||||||
/// without needing to run the tokenizer again.
|
/// without needing to run the tokenizer again.
|
||||||
pub char_length: u16,
|
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…
Reference in New Issue
Block a user