Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Upgrade Stretchy for ES 2.x #282

Open
yozlet opened this issue Jan 26, 2016 · 0 comments
Open

Upgrade Stretchy for ES 2.x #282

yozlet opened this issue Jan 26, 2016 · 0 comments

Comments

@yozlet
Copy link
Contributor

yozlet commented Jan 26, 2016

If/when we move to ElasticSearch 2.x, we'll need to upgrade Stretchy. And when we do that, we'll get a load of breakage (as I just discovered when doing an experimental bundle update):

  • Stretchy.delete becomes Stretchy.delete_index (needed here)
  • API#to_search no longer works - I think we might need API#request but there's more to it than that (needed here amongst other places)
  • We can do some of the things we were doing in raw JSON now using the API (e.g. paging, field listing) but other things still need to be done in JSON (such as aggregations, for the stats feature)

CCing @agius, just in case he's able to give us any advice on this 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant