Query Translation if where the qpl query, agnostic to this point, gets converted into an engine specific query
All the translators are located in the pakage pyqpl.translator currently, import the require one
from pyqpl.translator import ElasticsearchTranslator
Create an instante of the translatorÂ
translator = ElasticsearchTranslator()
And translate the qpl_query with the translator instance, is the same call for all translators
engine_query = translator.to_engine_query(qpl_query)