ankane / searchkick

Intelligent search made easy
MIT License
6.55k stars 759 forks source link

Migrate Facets to use Aggregations #247

Closed ajturner closed 9 years ago

ajturner commented 10 years ago

It appears that ElasticSearch facets are deprecated and they suggest moving instead to use aggregations

Noting that SearchKick should move to deprecate the facets: option and provide interface and examples to aggregations.

lgs commented 10 years ago

+1

ankane commented 10 years ago

Agreed, it's on the todo list (#219). Happy to accept a pull request if someone wants to take a stab at it.

jpountz commented 10 years ago

You might want to have a look at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-migrating-to-aggs.html

ankane commented 10 years ago

Thanks @jpountz, that's a great resource.

avishai commented 10 years ago

Is anyone working on this?

ankane commented 10 years ago

Not that I'm aware of. Would be great to get help on it.

ankane commented 9 years ago

Added in 1.0.