meilisearch-java icon indicating copy to clipboard operation
meilisearch-java copied to clipboard

Configure the CSV delimiter when updating documents

Open brunoocasali opened this issue 1 year ago • 0 comments

⚠️ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository. Also, if you are a maintainer, feel free to add any clarification and instruction about this issue.

Sorry if this is already partially/completely implemented, feel free to let me know about the state of this issue in the repo.

Related to https://github.com/meilisearch/integration-guides/issues/251


Related to:

  • issue: https://github.com/meilisearch/meilisearch/issues/3442 and https://github.com/meilisearch/meilisearch/issues/3533
  • spec: https://github.com/meilisearch/specifications/pull/221

Add support for passing csvDelimiter query parameter to the PUT and POST /indexes/:indexUid/documents with content-type text/csv (example of the real method names: updateDocuments, addDocuments).

Also, a new error code is introduced, invalid_document_csv_delimiter. Pay attention to the strongly typed languages.

TODO:

  • [ ] Add the new argument to the csv document handler methods.
  • [ ] Add tests

brunoocasali avatar Apr 27 '23 13:04 brunoocasali