Closed
Description
Not sure if this is by design but if I define a query with a single QueryDescriptor inside of type Range in which the 'OnField' value is null ES throws a QueryParsingException since the emitted JSON in the query is empty due to no queries being present.
It seems that the nest library will automatically inject a match_all into the query if none are specified but in the above case the match_all is not added.
In the mean time I've been able to stop the issue from popping up by putting the Range query in a boolean query paired with a match_all.
Metadata
Metadata
Assignees
Labels
No labels