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 ?