Convert SQL query to Java Elastic Query

Given you already have another thread with a bunch of people helping, it's going to be easier to continue the discussion there, as it also has a bit more context :slight_smile: