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

Upgrade to Elasticsearch 5.x #145

Closed
5 tasks done
niemyjski opened this issue Oct 12, 2015 · 18 comments
Closed
5 tasks done

Upgrade to Elasticsearch 5.x #145

niemyjski opened this issue Oct 12, 2015 · 18 comments

Comments

@niemyjski
Copy link
Member

niemyjski commented Oct 12, 2015

We need to reindex all data and update the client for Elasticsearch 2.0 as things have been deprecated. We should compile a list of these as well as look into performance gains that could be achieved via a reindex.

  • Update Foundatio.Repositories
  • Update Indexes
  • Decrease the shard size to 4 or 5
  • Setup new cluster to test
  • Test upgrading and redindexing

Performance gain:

@niemyjski niemyjski changed the title Elastic Search 2.0 Support Elasticsearch 2.0 Support Oct 12, 2015
@ejsmith ejsmith changed the title Elasticsearch 2.0 Support Upgrade to Elasticsearch 2.x Apr 2, 2016
@niemyjski
Copy link
Member Author

@niemyjski
Copy link
Member Author

@niemyjski niemyjski changed the title Upgrade to Elasticsearch 2.x Upgrade to Elasticsearch 5.x Sep 23, 2016
@geffzhang
Copy link

When plans to support Elasticsearch 2.x

@niemyjski
Copy link
Member Author

We will be skipping 2.x completely and going straight to 5.x by using external reindexing support built into 5.x. We are starting work on this process this week so we can be ready for the 5.x release and reap the many rewards of 2.x+5.x (80% faster indexing, update by query and much more).

@niemyjski
Copy link
Member Author

@geffzhang
Copy link

Support Elasticsearch 5.x, also supports Elasticsearch 2.x?

@niemyjski
Copy link
Member Author

We will be skipping 2.x and going straight to 5.x via external reindexing.

@niemyjski
Copy link
Member Author

We have an /elastic5 branch that we are working out of :)

@geffzhang
Copy link

elastic5 release ,This release introduces a number of breaking changes. https://www.elastic.co/blog/elasticsearch-5-0-0-released

@niemyjski
Copy link
Member Author

Yep, a whole lot of them, we just got foundatio.repositories completely upgraded and are working on exceptionless, we almost have the mappings done but we are blocked until they release a NEST-5.0-rc2 client

@geffzhang
Copy link

https://www.nuget.org/packages/NEST/5.0.0-rc2 NEST-5.0-rc2 release

niemyjski added a commit that referenced this issue Nov 23, 2016
@niemyjski
Copy link
Member Author

We need to work on reindexing next (dev will be upgraded to elastic 5 today or tomorrow).. The reindex will need to have an ingest pipeline which choices the right daily index.

@ejsmith
Copy link
Member

ejsmith commented Dec 27, 2016

App is looking good. Tons of hard work paying off. :)

@niemyjski
Copy link
Member Author

@niemyjski
Copy link
Member Author

niemyjski commented Dec 29, 2016

I have exceptionless up and running on elastic 5 (https://dev-app.exceptionless.io/)

Feel free to play around with it. I only have it running on a single node (haven't even optimized that node)

I just did find an issue where I wasn't able to invite users / get users list for an org, will look into that very soon. Other than that I'm aware of no issues but I'm sure there probably are

@niemyjski
Copy link
Member Author

We've deployed this into production, we'll create a release soon once we have more data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants