Elasticsearch multilevel nested query notes
In a similar index, there is a field named process.tags.value, that is, when multi-level nesting occurs, the general term or match can no longer query the data. Query it in the following way:
SDK query:
QueryBuilder pathQuery = QueryBuilders.nestedQuery ("path"
QueryBuilders.boolQuery () .must (QueryBuilders.matchQuery (name, value)), ScoreMode.Total)
This.queryBuilders = this.queryBuilders.must (pathQuery)
Where the path variable corresponds to the upper level of multilevel nesting. For example, if the query path process.tags.value, then path is process.tags.