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

What's the workaround for depreciated facet in elasticsearch? #22

Open
keshavkmr48 opened this issue Apr 2, 2018 · 1 comment
Open

Comments

@keshavkmr48
Copy link

As elastic search documentation says, facets have been depreciated. So whats the workaround?
can we simply use aggs in place of facets in the script and use facetview2 ?
does this change needs to be done everywhere including html and jquery or just while defining facets in html ?

@richard-jones
Copy link
Member

We haven't tried to get facetview2 working over aggregations, so it's difficult to answer in detail. Probably for the most part it's just a case of modifying the query serialising aspects of the code, though there may be some gotchas.

For later versions of ES (including aggregation support), we are focusing our efforts on Edges (https://github.com/CottageLabs/edges), which supports all of the facetview2 behaviours, plus a lot more, but is not yet well documented or so easy to get started with.

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

2 participants