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

Elastic return only top 10 attributes / options #195

Open
alexispe opened this issue Oct 10, 2023 · 0 comments
Open

Elastic return only top 10 attributes / options #195

alexispe opened this issue Oct 10, 2023 · 0 comments

Comments

@alexispe
Copy link

Hello,

For each filter, only the top 10 attributes/options are displayed.

For example, my products have a "color" attribute. I want to be able to filter products by any available color, but here I can only filter by the 10 colors most present in search results.
image
On this image, I've only got 10 colors, whereas I could have 18, as there are 18 different colors in total in the search results.

Here's the return of Elasticsearch:
image

The Elasticseach documentation says:

By default, the terms aggregation returns the top ten terms with the most documents. Use the size parameter to return more terms, up to the search.max_buckets limit.

Thanks for your plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant