# Available simple DSL for elastic queries?

**URL:** https://discuss.elastic.co/t/available-simple-dsl-for-elastic-queries/45497
**Category:** Elasticsearch
**Created:** [March 26, 2016, 1:17am UTC](https://discuss.elastic.co/t/available-simple-dsl-for-elastic-queries/45497 "2016-03-26T01:17:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vicente\_de\_Rivera\_II](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@Vicente\_de\_Rivera\_II](https://discuss.elastic.co/u/Vicente_de_Rivera_II)
#### Post date: [March 26, 2016, 1:17am UTC](https://discuss.elastic.co/t/available-simple-dsl-for-elastic-queries/45497/1 "2016-03-26T01:17:21Z")

</div>

I plan on making a custom language via [peg.js](http://pegjs.org) that would easily translate user input into elastic Query DSL.

Was wondering if somebody else already did this?

For my use case (link below to a reddit post about our open source project called ExileTrade):

> **[ExileTrade | Advanced Item Search Site | Now has Infinite Result Scrolling |...](https://www.reddit.com/r/pathofexile/comments/4bvvh8/exiletrade_advanced_item_search_site_now_has/)**
>
> 93 points and 127 comments so far on reddit

I assume that I have good reason to implement a custom parser/lexer.

Any advice would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 11:05pm UTC](https://discuss.elastic.co/t/available-simple-dsl-for-elastic-queries/45497/2 "2017-07-05T23:05:01Z")

</div>


