标签: elasticsearch
我需要在Elasticsearch中获取符合我的条件的所有记录,如下面的查询:
SELECT * FROM table_x AS px WHERE version = ( SELECT MAX(version) FROM table_x WHERE type=px.type ) AND title LIKE '%title%'