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

FieldValueFactorFunction should use 'missing' when field does't exist in mapping #16338

Closed
edudar opened this issue Feb 1, 2016 · 1 comment

Comments

@edudar
Copy link

edudar commented Feb 1, 2016

It's common case for continuous deployment to change elasticsearch's client and index independently. This leads to the case when fieldValueFactorFunction is added to the client but index is not rebuilt yet. I use missing property. Unfortunately FieldValueFactorFunctionParser demands to have a field in a mapping, it throws exception otherwise. This means we can't deploy an client before index is updated despite having missing property set. The suggestion here is to look as missing in case of field in the document or mapping are missing.

@clintongormley
Copy link

Duplicate of #12016

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