# Common Term Query - Effect on performance and speed

**URL:** <https://discuss.elastic.co/t/common-term-query-effect-on-performance-and-speed/20633>\
**Category:** Elasticsearch\
**Created:** [November 7, 2014, 12:17pm UTC](https://discuss.elastic.co/t/common-term-query-effect-on-performance-and-speed/20633 "2014-11-07T12:17:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehmet\_Cem\_Gunturkun](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Mehmet\_Cem\_Gunturkun](https://discuss.elastic.co/u/Mehmet_Cem_Gunturkun)\
**Post date:** [November 7, 2014, 12:17pm UTC](https://discuss.elastic.co/t/common-term-query-effect-on-performance-and-speed/20633/1 "2014-11-07T12:17:40Z")

</div>

Hi,

On my project, I have a problem like this:  
When I try to search any query contains "the" with query\_string/match query  
it really returns results slowly like 4-5 seconds. After that, I found out  
that I should use common term query to ignore highly frequent words in  
index such as "the", "and". However, the effect on time does not decrease  
very much. I mean I was expecting milliseconds but it is still 1-2 seconds  
sometimes even slower.

so this is m question, is speed is alright and I am waiting too much from  
elasticsearch, or should I do extra mappings operations on index level to  
increase the speed of query?

Thanks a lot.  
Mehmet -

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b783f349-9fe3-485d-9eaa-071de036f9a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b783f349-9fe3-485d-9eaa-071de036f9a9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:51am UTC](https://discuss.elastic.co/t/common-term-query-effect-on-performance-and-speed/20633/2 "2017-07-06T00:51:31Z")

</div>


