Introduce a better higlighting system

This commit is contained in:
Clément Renault
2020-01-16 14:56:16 +01:00
parent 00336c5154
commit 74fa9ee4df
3 changed files with 37 additions and 12 deletions

View File

@ -285,7 +285,6 @@ pub struct PostingsKey<'o> {
pub is_exact: bool,
}
pub type Distance = u8;
pub type Postings<'o, 'txn> = HashMap<PostingsKey<'o>, Cow<'txn, Set<DocIndex>>>;
pub type Cache<'o, 'txn> = HashMap<&'o Operation, Cow<'txn, Set<DocumentId>>>;