查询应该是这样的:select * from product where name like '%{name}%' 下面是我使用的elasticsearch查询: @Query("{\"bool\" :{\"must\" : {\"terms\" : {\"name\" : {\"query\" : \"?analyze_wildcard\"
我希望从Elasticsearch作为Sql查询获得结果。select distinct(id) from table where E_id in (5,6) and P_id=54 } }还有另一个代码块,它执行where子句的SQL查询工作。GET /index/type/_search "que