is there a way to acheive this using elastic query builders for java
select id1,IF (count(id2)>0,count(id2),id2_name) as id2
from index where id1_name = 'xxxxxx'
and id_code=2 group by id1
is there a way to acheive this using elastic query builders for java
select id1,IF (count(id2)>0,count(id2),id2_name) as id2
from index where id1_name = 'xxxxxx'
and id_code=2 group by id1
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.