feat: Make the schema consider document ids

This commit is contained in:
Clément Renault
2018-12-25 12:26:38 +01:00
parent 2e5c5fad33
commit 444a4c1af7
10 changed files with 287 additions and 74 deletions

View File

@ -88,7 +88,7 @@ fn main() -> Result<(), Box<Error>> {
let number_of_documents = documents.len();
for doc in documents {
match view.retrieve_document::<Document>(doc.id) {
match view.document_by_id::<Document>(doc.id) {
Ok(document) => {
print!("title: ");