meilisearch-swift
meilisearch-swift copied to clipboard
Add new code-samples requested by the Meilisearch v0.29 release
⚠️ 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, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially 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/213
:warning::warning::warning: This SDK does not have the matchingStrategy yet. To close this issue #341 should be done first.
Add the new code samples into the file .code-samples.meilisearch.yml:
TODO:
- [ ] Add
search_parameter_guide_matching_strategy_1- Search for
big fat liarwith"matchingStrategy": "last"in amoviesindex.
- Search for
- [ ] Add
search_parameter_guide_matching_strategy_2- Search for
big fat liarwith"matchingStrategy": "all"in amoviesindex.
- Search for
For example, in Javascript, the code-samples required to fix the issue are:
client.index('movies').search('big fat liar', { matchingStrategy: 'last' }) and also
client.index('movies').search('big fat liar', { matchingStrategy: 'all' })
so the final version inside of the samples should be:
search_parameter_guide_matching_strategy_1: |-
client.index('movies').search('big fat liar', { matchingStrategy: 'last' })
search_parameter_guide_matching_strategy_2: |-
client.index('movies').search('big fat liar', { matchingStrategy: 'all' })