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

Create the correct version of the Elasticsearch client #8

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

Konafets
Copy link
Contributor

Elasticsearch changed the way how to create the client between version 1
and 2. We should handle both cases to be independent from the version.

Elasticsearch changed the way how to create the client between version 1
and 2. We should handle both cases to be independent from the version.
@nWidart
Copy link
Owner

nWidart commented Feb 23, 2016

Hm yes that's true, but why keep supporting v1 ? Wouldn't it be better to make people upgrade to version 2 ?

@Konafets
Copy link
Contributor Author

I have no idea how long version 2 of ES is out and if version 1 is still supported. So I thought a graceperiod would be nice. Next version will support both, next version + 1 removes the support for ES 1.

Furthermore my first PR has a bug. I forgot to import the ClientBuilder.

@nWidart
Copy link
Owner

nWidart commented Mar 8, 2016

Sorry for the late reply, read your reply during work and forgot to come back to it afterwards. 😄

nWidart added a commit that referenced this pull request Mar 8, 2016
Create the correct version of the Elasticsearch client
@nWidart nWidart merged commit 0ec9090 into nWidart:master Mar 8, 2016
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

Successfully merging this pull request may close these issues.

2 participants