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

[v.1.7] Able to use `showRankingScoreDetails` parameter at search

Open curquiza opened this issue 11 months ago • 0 comments

Following this central issue

This is related to a newly introduced feature in Meilisearch v1.7.0: show ranking score details at search.

Refer to docs for more information.

  • [ ] Add the search parametershowRankingScoreDetails. We should be able to use it with the search() method. Here are the JS equivalents in meilisearch-js you should create for this repository:
client.index('movies').search('dragon', { showRankingScoreDetails: true })
  • [ ] Add the ability to handle the new _rankingScoreDetails key/value in the search hits' response.
  • [ ] ⚠️ Add integration tests ⚠️
  • [ ] Update the .code-samples.meilisearch.yaml
    • [ ] Add search_parameter_guide_show_ranking_score_details_1 key and “translate” the following curl example by using the newly added changes: https://github.com/meilisearch/documentation/blob/090717049e117ffaa3a54baa010883c1c5f90c31/.code-samples.meilisearch.yaml#L1103-L1110

curquiza avatar Mar 12 '24 15:03 curquiza