Skip to content

Conversation

bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Aug 24, 2022

Related to: issue: meilisearch/meilisearch#2376

All the changes:

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

Breaking

  • In SearchResults nbHits is now named estimated_total_hits
  • In SearchResults exhaustive_nb_hits is removed.
  • In SearchResults exhaustive_facets_count is removed.
  • In SearchQuery matches is now named show_mathes_position and the method with_matches is now named with_show_matches_position
  • In SearchResults matches_info is now named matches_position
  • In SearchQuery facetsDistribution is now named facets
  • In SearchResults facetsDistribution is now named facetDistribution

@bidoubiwa bidoubiwa changed the base branch from main to update_indexes_for_v0.28.0 August 24, 2022 10:35
@bidoubiwa bidoubiwa requested review from alallema and irevoire August 24, 2022 14:40
@bidoubiwa bidoubiwa marked this pull request as ready for review August 24, 2022 14:41
@bidoubiwa bidoubiwa added the breaking-change The related changes are breaking for the users label Aug 24, 2022
Base automatically changed from update_indexes_for_v0.28.0 to bump-meilisearch-v0.28.0 August 25, 2022 11:48
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉

@bidoubiwa bidoubiwa merged commit cf0409b into bump-meilisearch-v0.28.0 Aug 25, 2022
@bidoubiwa bidoubiwa deleted the update_search_for_v0.28.0 branch August 25, 2022 12:04
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.

3 participants