⚠️ 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.
This issue is divided into two sections, first, you need to make the implementation, and second, you must update the code-samples (no one likes outdated docs, right?).
This feature aims to return ranking details for each document to understand and tweak the score of the documents more efficiently.
Ensure the SDKs can handle the new search parameter showRankingScore. Also, ensure the SDK can handle the _rankingScore attribute in the matched hits.
Code samples
Inside of this file: .code-samples.meilisearch.yml:
Create a new entry with this key search_parameter_guide_show_ranking_score_1 containing a call to the search method using the new behavior from the index movies using showRankingScore=true and a q with 'dragon'.
Add a new code sample to the .code-samples.meilisearch.yml file:
Use this as a reference if the previous description was not helpful:
search_parameter_guide_show_ranking_score_1: |-
POST 'http://localhost:7700/indexes/movies/search'
with data: {
"q": "dragon", "showRankingScore": true
}
TODO:
[ ] Add the ability receive a new param in the search method called showRankingScore.
[ ] Add the ability handle the new _rankingScore key/value in the search hits' response.
⚠️ 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/280
This issue is divided into two sections, first, you need to make the implementation, and second, you must update the code-samples (no one likes outdated docs, right?).
New implementation
Related to:
This feature aims to return ranking details for each document to understand and tweak the score of the documents more efficiently.
Ensure the SDKs can handle the new search parameter
showRankingScore
. Also, ensure the SDK can handle the_rankingScore
attribute in the matchedhits
.Code samples
Inside of this file:
.code-samples.meilisearch.yml
:search_parameter_guide_show_ranking_score_1
containing a call to thesearch
method using the new behavior from the indexmovies
usingshowRankingScore=true
and aq
with'dragon'
. Add a new code sample to the.code-samples.meilisearch.yml
file:Use this as a reference if the previous description was not helpful:
TODO:
search
method calledshowRankingScore
._rankingScore
key/value in the search hits' response.