add csv builder tests

This commit is contained in:
marin postma
2021-10-25 09:48:53 +02:00
parent 53c79e85f2
commit 430e9b13d3
3 changed files with 297 additions and 31 deletions

View File

@ -47,7 +47,7 @@ impl DocumentsBatchIndex {
self.0.iter()
}
pub fn get_id(&self, id: FieldId) -> Option<&String> {
pub fn name(&self, id: FieldId) -> Option<&String> {
self.0.get_by_left(&id)
}
}