0
Angenommen, ich habe eine Tabelle mit folgendem Format:Elastic Suchkriterien zum Filtern auf top_hits
sdk_index {device_id, serve_count, event_time}
Ich möchte eine elastische Suchabfrage machen, die mir das Ergebnis von
1. group by device id and take the max(event_time)
2. on the result of 1 check for rows with serve_count > 0 and return the count.