# Improving performance of multiword queries

**URL:** <https://discuss.elastic.co/t/improving-performance-of-multiword-queries/67767>\
**Category:** Elasticsearch\
**Created:** [December 1, 2016, 1:56pm UTC](https://discuss.elastic.co/t/improving-performance-of-multiword-queries/67767 "2016-12-01T13:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avaneeshr](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@avaneeshr](https://discuss.elastic.co/u/avaneeshr)\
**Post date:** [December 1, 2016, 1:56pm UTC](https://discuss.elastic.co/t/improving-performance-of-multiword-queries/67767/1 "2016-12-01T13:56:03Z")

</div>

Hi all!  
I have an index (around 100GB size) which performs very well (\>1000 qps with jmeter) on single word queries (such as "computer"), but performs very badly on multiword queries (such as "How to use a computer"). I expect performance to take a hit when the query has several words.  
Since my workload mainly involves multiword queries, what elasticsearch settings can I tinker with to improve multiword-query response times?

I'm thinking of trying specifying cutoff frequencies, minimum-should-match to improve. Am I headed in the right direction?  
My documents are webpages

Thanks

---

<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:** [December 29, 2016, 1:56pm UTC](https://discuss.elastic.co/t/improving-performance-of-multiword-queries/67767/2 "2016-12-29T13:56:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
