I wanted to share FiltrES.js https://github.com/abeisgreat/FiltrES.js, a
tool for compiling simple human readable expressions (i.e. '(height <= 73 or
(favorites.color == "green" and height != 73)) and firstname ~= "o.+")')
into ES queries. This is useful for times when you want end users (or
developers who aren't ES experts) to be able to query based on arbitrary
filters. It doesn't use script filters, so it's safe and easy to use.
I'd love to get any thoughts/feedback as I am *not *an ES expert and
FiltrES was written so I could use it, but I'm happy to expand it for more
complex/interesting use cases.
I wanted to share FiltrES.js https://github.com/abeisgreat/FiltrES.js, a tool for compiling simple human readable expressions (i.e. '(height <= 73 or (favorites.color == "green" and height != 73)) and firstname ~= "o.+")') into ES queries. This is useful for times when you want end users (or developers who aren't ES experts) to be able to query based on arbitrary filters. It doesn't use script filters, so it's safe and easy to use.
I'd love to get any thoughts/feedback as I am not an ES expert and FiltrES was written so I could use it, but I'm happy to expand it for more complex/interesting use cases.
I wanted to share FiltrES.js https://github.com/abeisgreat/FiltrES.js,
a tool for compiling simple human readable expressions (i.e. '(height <=
73 or (favorites.color == "green" and height != 73)) and firstname ~= "o.+
")') into ES queries. This is useful for times when you want end users
(or developers who aren't ES experts) to be able to query based on
arbitrary filters. It doesn't use script filters, so it's safe and easy to
use.
I'd love to get any thoughts/feedback as I am *not *an ES expert and
FiltrES was written so I could use it, but I'm happy to expand it for more
complex/interesting use cases.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.