Closed
Description
This is broken out from #6556.
Add support for combining queries created using the fluent syntax into bool queries using the &&, ||, ! and + operators.
For example:
var search = new SearchRequestDescriptor<Project>()
.Query(q => q
.Term(p => p.Name, "x") || q
.Term(p => p.Name, "y"));
should produce:
{
"query": {
"bool": {
"must": [
{
"term": {
"name": {
"value": "x"
}
}
},
{
"term": {
"name": {
"value": "y"
}
}
}
]
}
}
}