meilisearch-java
meilisearch-java copied to clipboard
Java client for Meilisearch
Related to this issue: https://github.com/meilisearch/integration-guides/issues/205 This PR: - gathers the changes related to the next Meilisearch release (v0.28.0) so that this package is ready when the official release is out....
The Java client has been completely rewritten by a contributor to use an API based on ServiceTemplate #154. This refactoring was never implemented because it would have brought too many...
Filter doesn't work for me same as other attributes that requires array. Code example: ``` val searchRequest = SearchRequest(query).also { it.matches = true it.attributesToRetrieve = null it.limit = limit it.offset...
# Pull Request ## What does this PR do? Fixes #256 Added updateDocumentsCSV and updateDocumentsNDJSON methods with respective tests. Added updateDocumentsCSVinBatches and updateDocumentsNDJSONinBatches methods with respective tests. ## PR checklist...
# Pull Request ## What does this PR do? Added addDocumentsCSV and addDocumentsNDJSON methods with respective tests. Added addDocumentsCSVinBatches and addDocumentsNDJSONinBatches methods with respective tests. Fixes #256 ## PR checklist...
# Pull Request ## What does this PR do? Fixes #316 ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an...
**Description** For example, it is possible to reset the synonyms to it' default value by sending ```json { "synonyms": null } ``` As the json body of the `updateSettings` method....
In this PR #371 we introduce the `TypoTolerance` class. Unfortunately as per [this comment section](https://github.com/meilisearch/meilisearch-java/pull/371/files#r864855579) we did not found a better way than the following to encode in JSON. ```java...
**Description** Every method that makes an HTTP request also decode the JSON from that request inside its method. Example: https://github.com/meilisearch/meilisearch-java/blob/04244faad4b653fe4cdc5eff871463ce6e8b83bc/src/main/java/com/meilisearch/sdk/TasksHandler.java#L48-L51 An alternative to that would be to use `this.gson.fromJson` inside...
Following this discussion, it could be better to throw specifics Exceptions for all the handlers: I mean, is good to only `throw` errors that we can control, `Exception` is Ok,...