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

false rewritten as False in elasticsearch.yml #40

Open
babadofar opened this issue Jul 17, 2015 · 1 comment
Open

false rewritten as False in elasticsearch.yml #40

babadofar opened this issue Jul 17, 2015 · 1 comment

Comments

@babadofar
Copy link

a little gotcha in the elasticsearch.yml configuration. In your examples you always have "true" and "false" in quotes, but should you happen to put true and false without quotes, it ends up in the elasticsearch.yml file as False with a capital first letter, and elasticsearch doesn't understand that.

@kazysgurskas
Copy link

True, more generally a YAML gotcha with boolean conversion. When you want literal values as a string, you must always put them in quotes:

non_boolean: "yes"
other_string: "false"

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

No branches or pull requests

2 participants