mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
feat: Make the schema consider document ids
This commit is contained in:
@ -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: ");
|
||||
|
Reference in New Issue
Block a user