mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
revert get document method
This commit is contained in:
committed by
qdequele
parent
ff3149f6fa
commit
4bd7e46ba6
@ -257,7 +257,7 @@ impl<'a> SearchBuilder<'a> {
|
||||
for doc in docs {
|
||||
let mut document: IndexMap<String, Value> = self
|
||||
.index
|
||||
.document(reader, Some(all_attributes.clone()), doc.id)
|
||||
.document(reader, Some(&all_attributes), doc.id)
|
||||
.map_err(|e| Error::RetrieveDocument(doc.id.0, e.to_string()))?
|
||||
.ok_or(Error::DocumentNotFound(doc.id.0))?;
|
||||
|
||||
|
Reference in New Issue
Block a user