mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Document and refine facet indexing algorithms
This commit is contained in:
		
				
					committed by
					
						
						Loïc Lecrenier
					
				
			
			
				
	
			
			
			
						parent
						
							bee3c23b45
						
					
				
				
					commit
					27454e9828
				
			@@ -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>,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user