Closed
Description
The below query should be supported by NEST, however it results in a conditionless filter being produced.
Filter<Document>.Nested(n => n
.Path("nested_property")
.Filter(f => f
.Term("nested_property.path", "myvalue")
)
);
"filter": {
"nested": {
"path": "nested_property",
"filter" : {
"term": {
"nested_property.path": "myvalue"
}
}
}
}
A workaround is to ensure that you include a .Query(q => q.MatchAll()) within your nested filter.
Metadata
Metadata
Assignees
Labels
No labels