I have an existing parser that will properly parse a Lucene query into the data objects I need. I would like to reuse this code if possible as opposed to writing a new parser.
Is there a way to take an existing Elasticsearch JSON query and get back the equivalent Lucene query? I know this seems backwards but as I said, it would allow me to reuse existing code.
I am using ES 2.3.3 and the ES Java Api and Jest API.