Skip to content

Join查询(parent,child)

iamazy edited this page Aug 5, 2019 · 1 revision

1. elasticsearch中的has_parent,has_child查询(parent_id暂未添加)

select * from fruit where has_parent(vegetable,weight between 100 and 400)
select * from fruit where has_child(apple,price in (10,20,30))
Clone this wiki locally