SDK 查询:
QueryBuilder pathQuery = QueryBuilders.nestedQuery("path",
QueryBuilders.boolQuery().must(QueryBuilders.matchQuery(name, value)), ScoreMode.Total);
this.queryBuilders = this.queryBuilders.must(pathQuery);
其中,path变量对应多级嵌套的上一级。如:查询路径process.tags.value,那么path为process.tags。
原文:https://blog.51cto.com/jfzhang/2420462