Skip to content
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

feat(settings): Add sortFacetValuesBy #351

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

ahmednfwela
Copy link
Collaborator

Pull Request

Related issue

Fixes #339

What does this PR do?

  • Add enum FacetingSortTypes
  • Add Map<String, FacetingSortTypes>? sortFacetValuesBy to Faceting
  • Updated .code-samples.meilisearch.yaml
  • [BREAKING] change members of Faceting to be final, and remove the default values set there.

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@ahmednfwela
Copy link
Collaborator Author

ahmednfwela commented Sep 1, 2023

@brunoocasali looks like uploading to codecov failed for some reason, can you look into it ?

Update: looks like it's flakey, maybe due to rate limiting for not providing API key ?

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Thanks @ahmednfwela 🎉

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented Sep 1, 2023

Build succeeded:

@ahmednfwela ahmednfwela merged commit 7f67035 into main Sep 1, 2023
@ahmednfwela ahmednfwela deleted the sort-facet-settings branch September 1, 2023 12:45
@curquiza curquiza added the enhancement New feature or request label Sep 13, 2023
@brunoocasali brunoocasali added the breaking-change The related changes are breaking for the users label Sep 14, 2023
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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.3] Sort facets value by alphanumerical or count order
3 participants