# Query Syntax Matters?

**URL:** <https://discuss.elastic.co/t/query-syntax-matters/58296>\
**Category:** Elasticsearch\
**Created:** [August 17, 2016, 10:07pm UTC](https://discuss.elastic.co/t/query-syntax-matters/58296 "2016-08-17T22:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwell\_Flanders](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Post date:** [August 17, 2016, 10:07pm UTC](https://discuss.elastic.co/t/query-syntax-matters/58296/1 "2016-08-17T22:07:06Z")

</div>

Does it increase query performance to use the more advanced query dsl tools like term, wildcard etc.. to write your query

versus just using the query\_string part of the dsl, and then writing the query that I would type into kibana??

This is going to be significant for how I start designing queries as we are going to be running many of them programmatically through elastalert and triggering alerts.

thank you!!

---

<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, 10:27pm UTC](https://discuss.elastic.co/t/query-syntax-matters/58296/2 "2017-07-05T22:27:08Z")

</div>


