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

Add sort order for facet values for Meilisearch v1.3 #1536

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

bidoubiwa
Copy link
Contributor

Pull Request

Related issue

issue: meilisearch/meilisearch#3612
discussion: meilisearch/product#519 (comment)

What does this PR do?

Adds the ability to sort facets by their value which could be by using alphanumerical or count.

Ensure the SDKs can handle the new search parameter sortFacetValuesBy. This enum can only take count or alphanumeric.

  • Adds the sortFacetValuesBy setting in Settings['faceting']

@bidoubiwa bidoubiwa added the enhancement New feature or request label Jul 10, 2023
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.

LGTM!

@bidoubiwa bidoubiwa merged commit 4338c47 into bump-meilisearch-v1.3.0 Jul 10, 2023
@bidoubiwa bidoubiwa deleted the sort_facets_values branch July 10, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants