convert elasticsearch query dsl to sql language, just part function
No issues in this repository yet.