The given query is requesting to search for documents in the "orderparent" index. It is looking for documents that have a parent document of type "parent" and have a "userName" field with the value "zhangjie".\n\nThe mapping of the "orderparent" index includes two types: "parent" and "child". The "parent" type has properties such as "createTime", "orderNum", and "userName". The "child" type has properties such as "commentTime", "content", and "userId".\n\nThe "relation" field is of type "join" and is used to establish a parent-child relationship between documents. The "relations" property specifies that the "parent" type is related to the "child" type.

Elasticsearch POST /orderparent/_search - 查询具有特定userName的父订单

原文地址: https://www.cveoy.top/t/topic/psWk 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录