Skip to content

Apply search changes #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Apply search changes #505

merged 1 commit into from
Dec 20, 2022

Conversation

alallema
Copy link
Contributor

  • Rename nbHits response parameter to estimatedTotalHits.
  • Delete exhaustiveNbHits response parameter.
  • Delete exhaustiveFacetsCount response parameter.
  • matches request parameter is renamed showMatchesPosition.
  • facetsDistribution request parameter is renamed facets.
  • facetsDistribution response parameter is renamed facetDistribution.

* @param facetsDistribution Facets for which to retrieve the matching count
* @param showMatchesPosition Defines whether an object that contains information about the
* matches should be returned or not
* @param facets Facets for which to retrieve the matching count
* @param sort Sort queries by an attribute value
*/
public SearchRequest(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm begging for this issue be closed someday #455 haha

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I think it could be closed! I don't think we should keep those constructors anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too! But I prefer to finish the update before

@alallema alallema merged commit 40842d8 into bump-meilisearch-v0.28.0 Dec 20, 2022
@alallema alallema deleted the search-changes branch December 20, 2022 09:24
@alallema alallema added the breaking-change The related changes are breaking for the users label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change The related changes are breaking for the users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants