mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Remove outdated TODOs
This commit is contained in:
		
				
					committed by
					
						
						Loïc Lecrenier
					
				
			
			
				
	
			
			
			
						parent
						
							3d7ed3263f
						
					
				
				
					commit
					b1ab09196c
				
			@@ -21,7 +21,7 @@ pub fn extract_facet_string_docids<R: io::Read + io::Seek>(
 | 
			
		||||
 | 
			
		||||
    let mut facet_string_docids_sorter = create_sorter(
 | 
			
		||||
        grenad::SortAlgorithm::Stable,
 | 
			
		||||
        merge_cbo_roaring_bitmaps, // TODO: check that it is correct
 | 
			
		||||
        merge_cbo_roaring_bitmaps,
 | 
			
		||||
        indexer.chunk_compression_type,
 | 
			
		||||
        indexer.chunk_compression_level,
 | 
			
		||||
        indexer.max_nb_chunks,
 | 
			
		||||
 
 | 
			
		||||
@@ -142,7 +142,7 @@ pub(crate) fn data_from_obkv_documents(
 | 
			
		||||
        indexer,
 | 
			
		||||
        lmdb_writer_sx.clone(),
 | 
			
		||||
        extract_facet_string_docids,
 | 
			
		||||
        merge_cbo_roaring_bitmaps, // TODO: check (cbo?)
 | 
			
		||||
        merge_cbo_roaring_bitmaps,
 | 
			
		||||
        TypedChunk::FieldIdFacetStringDocids,
 | 
			
		||||
        "field-id-facet-string-docids",
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
@@ -138,13 +138,11 @@ 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