mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Add comparison benchmark between bulk and incremental facet indexing
This commit is contained in:
		
				
					committed by
					
						
						Loïc Lecrenier
					
				
			
			
				
	
			
			
			
						parent
						
							b2f01ad204
						
					
				
				
					commit
					bee3c23b45
				
			@@ -138,11 +138,13 @@ pub(crate) fn write_typed_chunk_into_index(
 | 
			
		||||
            is_merged_database = true;
 | 
			
		||||
        }
 | 
			
		||||
        TypedChunk::FieldIdFacetNumberDocids(facet_id_number_docids_iter) => {
 | 
			
		||||
            // TODO indexer options for the facet level database
 | 
			
		||||
            let indexer = FacetsUpdate::new(index, FacetType::Number, facet_id_number_docids_iter);
 | 
			
		||||
            indexer.execute(wtxn)?;
 | 
			
		||||
            is_merged_database = true;
 | 
			
		||||
        }
 | 
			
		||||
        TypedChunk::FieldIdFacetStringDocids(facet_id_string_docids_iter) => {
 | 
			
		||||
            // TODO indexer options for the facet level database
 | 
			
		||||
            let indexer = FacetsUpdate::new(index, FacetType::String, facet_id_string_docids_iter);
 | 
			
		||||
            indexer.execute(wtxn)?;
 | 
			
		||||
            is_merged_database = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user