Closed polyfloyd closed 2 weeks ago
Please note that I am running into an issue here: unaccepted status code found: 400 expected: [200], MeilisearchApiError Message: Inside .queries[0]: Using pagination options is not allowed in federated queries.
I think this patch is correct, so I'm opening this PR already. But I can not be 100% sure just yet
Hello @polyfloyd thanks for your PR, but v1.10 is not released yet. So I will review and merge a PR for federated once v1.10 is release 😊
Thanks for your anticipation and involvement 😄
Found the cause of the error message, this Go library sets the pagination limit of each query to a default. I removed it for now so I can continue testing
@polyfloyd Thank you, currently you can change this PR to draft until release v1.10 and add issue for federation search.
Saw that there is an issue open now: #573
Will go over the checklist to see whether there is still something to be done
Saw that there is an issue open now: #573
Will go over the checklist to see whether there is still something to be done
Please do this check list:
fixes #573
in PR description_federation
for SearchResponse
"_federation": {
"indexUid": "comics",
"queriesPosition": 1
}
Thanks!
Updated the commit title and added a test.
Adding _federation
to SearchResponse does not seem correct? This object is present in each item of the hits
array. See the expected payload of the new unit test to see what I mean
Updated the commit title and added a test.
Adding
_federation
to SearchResponse does not seem correct? This object is present in each item of thehits
array. See the expected payload of the new unit test to see what I mean
Don't require any do for this.
@polyfloyd please add fixes #573
in PR description
@Ja7ad I have added the issue ref to the PR description
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.72%. Comparing base (
e09d86e
) to head (d132bc1
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
bors merge
Thank you!!
Pull Request
Fixes #573
What does this PR do?
This PR adds support for the new federated search to be introduced in v1.10: https://github.com/meilisearch/meilisearch/releases/tag/v1.10.0-rc.0
PR checklist
Please check if your PR fulfills the following requirements: