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

Generate dynamic mappings for empty strings. #8329

Closed

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Nov 3, 2014

This will help the exists/missing filters behave as expected in presence of
empty strings, as well as when using a default analyzer that would generate
tokens for an empty string (uncommon).

Close #8198

@jpountz jpountz added :Search/Mapping Index mappings, including merging and defining field types review v2.0.0-beta1 v1.5.0 >bug and removed review labels Nov 3, 2014
@jpountz jpountz force-pushed the fix/dynamic_mappings_empty_string branch from ff8e82b to c484634 Compare November 3, 2014 15:25
This will help the exists/missing filters behave as expected in presence of
empty strings, as well as when using a default analyzer that would generate
tokens for an empty string (uncommon).

Close elastic#8198
@jpountz jpountz force-pushed the fix/dynamic_mappings_empty_string branch from c484634 to 2083ee9 Compare November 3, 2014 15:26
@rjernst
Copy link
Member

rjernst commented Nov 4, 2014

LGTM.

@clintongormley
Copy link

LGTM

@jpountz jpountz removed the review label Nov 4, 2014
@jpountz jpountz closed this Nov 4, 2014
@yangou
Copy link

yangou commented Jan 28, 2015

Any walk around for filtering out empty string in 1.4.2?
I tried this solution which doesn't seem to work:

"range": {
"my_field": {}
}

@clintongormley clintongormley changed the title Mappings: Generate dynamic mappings for empty strings. Generate dynamic mappings for empty strings. Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-deterministic inclusion of empty string by exists filter
4 participants