Fix panics and issues in exactness graph ranking rule

This commit is contained in:
Louis Dureuil 2023-04-05 14:43:16 +02:00 committed by Louis Dureuil
parent f513cf930a
commit e58426109a
2 changed files with 22 additions and 31 deletions

View file

@ -7,10 +7,7 @@ use super::helpers::{
};
use crate::error::SerializationError;
use crate::index::db_name::DOCID_WORD_POSITIONS;
use crate::{
absolute_from_relative_position, bucketed_position, relative_from_absolute_position,
DocumentId, Result,
};
use crate::{bucketed_position, relative_from_absolute_position, DocumentId, Result};
/// Extracts the word positions and the documents ids where this word appear.
///