feat: Introduce a way to distinct documents

This commit is contained in:
Clément Renault
2018-10-17 13:35:34 +02:00
parent 3acac1458f
commit 37c709c9a9
8 changed files with 167 additions and 84 deletions

View File

@ -24,7 +24,7 @@ pub type DocumentId = u64;
#[repr(C)]
pub struct DocIndex {
/// The document identifier where the word was found.
pub document: DocumentId,
pub document_id: DocumentId,
/// The attribute identifier in the document
/// where the word was found.