From the REST API of the elasticsearch(version 2.4.4), we can use multiple fields in exists query as:
{
"query": {
"exists": {
"field": [
"field1",
"field2",
"field3"
]
}
}
}
But I couldn't find the equivalent Java API for the same. The java class ExistsQueryBuilder takes only one field as the constructor. So, isn't there really any Java API for it? So, the only way to do it from Java API is using bool-should of exists query for each field?
