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

Request and store es version info and use to modify the object select… #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkoneill
Copy link

@dkoneill dkoneill commented Nov 7, 2019

This is a proposed fix for Issue #74 in which the a breaking change in ES 7.0 modified the structure of the object containing the number of hits.

This change requests and stores the ES info object which is later used by the packaging.version() routine to make a choice on how to retrieve the number of hits from the ES query. This enables backwards compatibility with ES instances older than 7.0.

@sushantkumr
Copy link

Verified this fix. It works on my end. Thank you @dkoneill

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