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
Replace empty bool queries with match_all to prevent NullPointerExceptions #6722
Labels
Comments
s1monw
added a commit
to s1monw/elasticsearch
that referenced
this issue
Jul 4, 2014
This causes a NPE since XContentStructure checks if the query is null and takes this as the condition to parse from the byte source which is actually null in that case. Closes elastic#6722
thanks for opening this.. I have a fix for that already and will push it soon. as a workaround just use a "bool" : {
"must": [],
"must_not": [],
"should": []
} |
s1monw
added a commit
that referenced
this issue
Jul 4, 2014
This causes a NPE since XContentStructure checks if the query is null and takes this as the condition to parse from the byte source which is actually null in that case. Closes #6722
s1monw
added a commit
that referenced
this issue
Jul 4, 2014
This causes a NPE since XContentStructure checks if the query is null and takes this as the condition to parse from the byte source which is actually null in that case. Closes #6722
s1monw
added a commit
that referenced
this issue
Jul 4, 2014
This causes a NPE since XContentStructure checks if the query is null and takes this as the condition to parse from the byte source which is actually null in that case. Closes #6722
s1monw
changed the title
[Bug] NullPointException when parsing query
[Query] QueryParser can return null from a query causing NullPointerExceptions
Jul 7, 2014
clintongormley
changed the title
[Query] QueryParser can return null from a query causing NullPointerExceptions
Search: QueryParser can return null from a query causing NullPointerExceptions
Jul 9, 2014
clintongormley
changed the title
Search: QueryParser can return null from a query causing NullPointerExceptions
Search: Replace empty bool queries with match_all to prevent NullPointerExceptions
Jul 9, 2014
clintongormley
added
the
:Search/Search
Search-related issues that do not fall into other categories
label
Jun 7, 2015
clintongormley
changed the title
Search: Replace empty bool queries with match_all to prevent NullPointerExceptions
Replace empty bool queries with match_all to prevent NullPointerExceptions
Jun 7, 2015
clintongormley
removed
the
:Search/Search
Search-related issues that do not fall into other categories
label
Jun 7, 2015
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
This causes a NPE since XContentStructure checks if the query is null and takes this as the condition to parse from the byte source which is actually null in that case. Closes elastic#6722
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have setup a parent/child relationship where parent is optional and i handle the routing in that case. And this worked fine in 1.0.1 but when i bumped to 1.2.1 to use aggregations it stopped working.
The exception i get
Mapping
The text was updated successfully, but these errors were encountered: