Skip to content

Modify addDocument -> addDocuments method (to support multiple documents) #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eskombro opened this issue Sep 22, 2020 · 1 comment
Closed

Comments

@eskombro
Copy link
Member

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

@eskombro eskombro changed the title Modify addDocument method to support multiple documents Modify addDocument -> addDocuments method (to support multiple documents) Sep 22, 2020
@eskombro
Copy link
Member Author

Duplicate of #26

@eskombro eskombro marked this as a duplicate of #26 Sep 28, 2020
arjunrc143 pushed a commit to arjunrc143/meilisearch-java that referenced this issue Oct 27, 2020
arjunrc143 pushed a commit to arjunrc143/meilisearch-java that referenced this issue Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant