# Query string with highlighting slow and high cpu usage

**URL:** https://discuss.elastic.co/t/query-string-with-highlighting-slow-and-high-cpu-usage/123790
**Category:** Elasticsearch
**Created:** [March 13, 2018, 6:20pm UTC](https://discuss.elastic.co/t/query-string-with-highlighting-slow-and-high-cpu-usage/123790 "2018-03-13T18:20:49Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![imranazad](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@imranazad](https://discuss.elastic.co/u/imranazad)
#### Post date: [March 14, 2018, 1:31pm UTC](https://discuss.elastic.co/t/query-string-with-highlighting-slow-and-high-cpu-usage/123790/7 "2018-03-14T13:31:24Z")

</div>

They are quite large, we index content from PDFs in a lot of cases more than 1MB. It's not absolutely necessary. By default we offer the user 10 results per page but they do have the option of selecting a maximum of 250.

---

_[View the full topic](https://discuss.elastic.co/t/query-string-with-highlighting-slow-and-high-cpu-usage/123790)._
