Remove, now useless, the WriteMethod enum

This commit is contained in:
Clément Renault
2022-01-25 17:12:12 +01:00
committed by Kerollmops
parent e9c02173cf
commit 51d1e64b23
6 changed files with 28 additions and 67 deletions

View File

@ -8,7 +8,7 @@ use slice_group_by::GroupBy;
use crate::update::index_documents::{
create_sorter, fst_stream_into_hashset, fst_stream_into_vec, merge_cbo_roaring_bitmaps,
sorter_into_lmdb_database, CursorClonableMmap, MergeFn, WriteMethod,
sorter_into_lmdb_database, CursorClonableMmap, MergeFn,
};
use crate::{Index, Result, StrStrU8Codec};
@ -192,7 +192,6 @@ impl<'t, 'u, 'i> WordPrefixPairProximityDocids<'t, 'u, 'i> {
*self.index.word_prefix_pair_proximity_docids.as_polymorph(),
word_prefix_pair_proximity_docids_sorter,
merge_cbo_roaring_bitmaps,
WriteMethod::GetMergePut,
)?;
Ok(())