We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently in v4.5, you are able to specify a custom facet query to override the default terms aggregation.
facet_attributes: [ { attribute: "type", field: "type.keyword", type: "string" facetQuery: (field, size, query) => ({ significant_terms: { field, size } }) } ]
This doesn't work well when the aggregation doesn't use the term bucket interface.
What we need is to add another function that transforms the elasticsearch agg response into the shape that Searchkit uses to present.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently in v4.5, you are able to specify a custom facet query to override the default terms aggregation.
This doesn't work well when the aggregation doesn't use the term bucket interface.
What we need is to add another function that transforms the elasticsearch agg response into the shape that Searchkit uses to present.
The text was updated successfully, but these errors were encountered: