Hi, ElasticSearch team!
I'm Denis Gorev, a 1st year CS phD student at MIPT, Moscow, Russian Federation. I would like to participate in GSOC with my own project, and would like to clarify if my idea is interesting for elastic team and suits GSOC limitations.
During my bachelor(four years) I was studying compilers structure and internals of interpreters, so i am quite familiar with parsing/mapping principals.
In ruby driver(include Rails) for MongoDB it is possible to extract standardized query from request.
It looks like a dictionary with special keywords and easy to parse.
3 years ago I wrote translator from standardized MongoDB query to ElasticSearch query notation(can provide code on demand). It allowed company, which I worked at that time, to migrate from MongoDB to ElasticSearch without rewriting any of hundreds requests. There were some limitations of course(in nested object querying for example).
During GSOC I would like to update code(rewrite?) for new version of ElasticSearch and MongoDB, create a library(maybe ruby gem?) and make it open source. I would provide more details in proposal.
Currently, I'm working on my first PR (https://github.com/elastic/elasticsearch/issues/23294).
I have configured elasticsearch environment and now digging into source code.