I am trying to accomplish the following query using the esquerydsl package (see below). More examples on how to use this package would be appreciated.
For example would below query be possible to create?
Does the package support "minimum_should_match"?
"query": {
"bool": {
"filter": [
{
"bool": {
"should": [
{
"match_phrase": {
"serviceName.keyword": "Service1"
}
},
{
"match_phrase": {
"serviceName.keyword": "Service2"
}
},
{
"match_phrase": {
"serviceName.keyword": "Service3"
}
}
],
"minimum_should_match": 1
}
},
{
"bool": {
"should": [
{
"match_phrase": {
"logKind.keyword": "Error"
}
},
{
"match_phrase": {
"logKind.keyword": "Audit"
}
},
{
"match_phrase": {
"logKind.keyword": "Warning"
}
}
],
"minimum_should_match": 1
}
}
],
}
}
I am trying to accomplish the following query using the esquerydsl package (see below). More examples on how to use this package would be appreciated.
For example would below query be possible to create?
Does the package support "minimum_should_match"?