mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Document and refine facet indexing algorithms
This commit is contained in:
parent
bee3c23b45
commit
27454e9828
5 changed files with 387 additions and 291 deletions
|
@ -7,7 +7,7 @@ mod typed_chunk;
|
|||
use std::collections::HashSet;
|
||||
use std::io::{Cursor, Read, Seek};
|
||||
use std::iter::FromIterator;
|
||||
use std::num::{NonZeroU32, NonZeroUsize};
|
||||
use std::num::NonZeroU32;
|
||||
use std::result::Result as StdResult;
|
||||
|
||||
use crossbeam_channel::{Receiver, Sender};
|
||||
|
@ -82,8 +82,6 @@ pub struct IndexDocuments<'t, 'u, 'i, 'a, F> {
|
|||
|
||||
#[derive(Default, Debug, Clone)]
|
||||
pub struct IndexDocumentsConfig {
|
||||
pub facet_level_group_size: Option<NonZeroUsize>,
|
||||
pub facet_min_level_size: Option<NonZeroUsize>,
|
||||
pub words_prefix_threshold: Option<u32>,
|
||||
pub max_prefix_length: Option<usize>,
|
||||
pub words_positions_level_group_size: Option<NonZeroU32>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue