mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Remove unused FacetFieldIdOperation
This commit is contained in:
parent
ce57a342a3
commit
4aa7c8f7b1
2 changed files with 12 additions and 44 deletions
|
@ -474,21 +474,4 @@ impl FacetsUpdateIncrementalInner {
|
|||
#[derive(Debug)]
|
||||
pub struct FacetFieldIdChange {
|
||||
pub facet_value: Box<[u8]>,
|
||||
pub operation: FacetFieldIdOperation,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum FacetFieldIdOperation {
|
||||
/// The docids have been modified for an existing facet value
|
||||
///
|
||||
/// The modification must be propagated to upper levels, without changing the structure of the tree
|
||||
InPlace,
|
||||
/// A new value has been inserted
|
||||
///
|
||||
/// The modification must be propagated to upper levels, splitting nodes and adding new levels as necessary.
|
||||
Insert,
|
||||
/// An existing value has been deleted
|
||||
///
|
||||
/// The modification must be propagated to upper levels, merging nodes and removing levels as necessary.
|
||||
Remove,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue