You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add documents to MeiliSearch the API requires a JSON object composed of an array of documents, either if you are sending one or multiple documents in the same request. In this case we need a method called addDocuments taking a list of documents as a parameter. This method can handle a single document in the exact same way. It would probably be better to replace the addDocument method
The text was updated successfully, but these errors were encountered:
eskombro
changed the title
Modify addDocument method to support multiple documents
Modify addDocument -> addDocuments method (to support multiple documents)
Sep 22, 2020
To add documents to MeiliSearch the API requires a JSON object composed of an array of documents, either if you are sending one or multiple documents in the same request. In this case we need a method called
addDocuments
taking a list of documents as a parameter. This method can handle a single document in the exact same way. It would probably be better to replace theaddDocument
methodThe text was updated successfully, but these errors were encountered: