Fix compile error after rebasing wppd-refactor

This commit is contained in:
Loïc Lecrenier 2022-10-18 10:40:26 +02:00
parent ab2f6f3aa4
commit 176ffd23f5

View File

@ -203,7 +203,7 @@ impl<'a> Context for QueryTreeBuilder<'a> {
right_word: &str,
proximity: u8,
) -> heed::Result<Option<u64>> {
let key = (left_word, right_word, proximity);
let key = (proximity, left_word, right_word);
self.index
.word_pair_proximity_docids
.remap_data_type::<CboRoaringBitmapLenCodec>()