-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DSL query support #49
Comments
Hi, If you also still think that the dsl backend is a useful feature, I could offer to start working on a new DSL Backend, since I don´t see a |
I didn't started a DSL backend and I don't know about anyone who started. So feel free 😉 |
Hello @Mat0vu ! I saw that you forked the project and I would be happy to help with my unit tests. Where can I get the JSONQueryBackend? |
Hi @balintnadasi , sorry for the late response. I´ve just updated my fork where I´ve been working on the implementation of a DSL backend for Elasticsearch. Since the DSL Language is using json-queries in contrast to EQL or ESQL and because it was difficult to get the desired output using the variables provided by the So far I´ve managed to implement (hopefully) most of the basic use cases:
Currently not supported (only the stuff I know of, so probably not complete):
I´m not a specialist regarding Elastic-Mappings, and all of the fields we are searching in are mapped as I would say the Backend is far from finished but the current status seemed to be working fine when translating some of our existing rules and comparing the hits with the rules that were translated with I will not be able to continue working on this topic for the next few weeks and because ES|QL is going to be fully supported by Elatic >=8.14 we are currently considering to switch to the new language. Anyways, you are very welcome to add unit_tests and improve the code :) |
@balintnadasi / @Mat0vu |
Hi @andurin, |
Hello @andurin ! I revised @Mat0vu 's code to get a query that approximates the old sigmac (unfortunately, regex filters seemed slower in some cases). For now, I’m facing some escaping issues, and I'm working on resolving them. If all goes well (and I will have some time before xmas), I hope to create the merge request in December. |
Hi guys!
Is there any chance that this backend will support pure DSL query generation in the near future?
The text was updated successfully, but these errors were encountered: