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

Use "order": -1 in default index template to allow override (#3422) #3426

Merged
merged 1 commit into from Jan 25, 2017

Conversation

Projects
None yet
3 participants
@kroepke
Member

kroepke commented Jan 25, 2017

The old "order" of Integer.MIN_VALUE didn't let users override index mappings
on their own because Elasticsearch seems to merge the templates in the wrong order.

Fun fact: Integer.MIN_VALUE and Integer.MIN_VALUE+1 don't work,
but Integer.MIN_VALUE+2 and higher do. Go figure.

Fixes #3421
(cherry picked from commit d16241f)

Use "order": -1 in default index template to allow override (#3422)
The old "order" of Integer.MIN_VALUE didn't let users override index mappings
on their own because Elasticsearch seems to merge the templates in the wrong order.

Fun fact: Integer.MIN_VALUE and Integer.MIN_VALUE+1 don't work,
but Integer.MIN_VALUE+2 and higher do. Go figure.

Fixes #3421
(cherry picked from commit d16241f)

@kroepke kroepke added this to the 2.1.3 milestone Jan 25, 2017

@dennisoelkers dennisoelkers self-assigned this Jan 25, 2017

@dennisoelkers dennisoelkers merged commit 1a18322 into 2.1 Jan 25, 2017

4 checks passed

ci-web-linter Jenkins build graylog-pr-linter-check 1319 has succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details

@dennisoelkers dennisoelkers deleted the backport-issue-3421 branch Jan 25, 2017

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