Skip to content

Elastic return only top 10 attributes / options #195

@alexispe

Description

@alexispe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions