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

Move null value handling into MappedFieldType #11544

Merged
merged 3 commits into from Jun 9, 2015

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Jun 8, 2015

In order for exists queries to use the null value for
a field, null value needs to be part of the field type (should
differ between document types). This change moves null value
into the field type, as well as simplifies the null value
methods available to remove supportsNullValue().

In order for exists queries to use the null value for
a field, null value needs to be part of the field type (should
differ between document types). This change moves null value
into the field type, as well as simplifies the null value
methods available to remove supportsNullValue().
@rjernst rjernst added v2.0.0-beta1 :Search/Mapping Index mappings, including merging and defining field types labels Jun 8, 2015

public String nullValueAsString() {
return nullValueAsString;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add minimal javadocs to these methods?

@jpountz
Copy link
Contributor

jpountz commented Jun 9, 2015

LGTM

rjernst added a commit that referenced this pull request Jun 9, 2015
Mapping: Move null value handling into MappedFieldType
@rjernst rjernst merged commit 9787266 into elastic:master Jun 9, 2015
@rjernst rjernst deleted the refactor/null-value branch June 9, 2015 16:46
@clintongormley clintongormley changed the title Mapping: Move null value handling into MappedFieldType Move null value handling into MappedFieldType Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Mapping Index mappings, including merging and defining field types v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants