Thanks for this! This post flew under my radar, but I&#x27;ve been essentially writing my own es query constructor because of the sorry state of elastic.js. I&#x27;ll definitely keep an eye on your project.