# Elastic Search Aggregations Slow

**URL:** <https://discuss.elastic.co/t/elastic-search-aggregations-slow/286701>\
**Category:** Elasticsearch\
**Created:** [October 14, 2021, 9:24am UTC](https://discuss.elastic.co/t/elastic-search-aggregations-slow/286701 "2021-10-14T09:24:02Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 29, 2021, 1:55pm UTC](https://discuss.elastic.co/t/elastic-search-aggregations-slow/286701/21 "2021-10-29T13:55:16Z")

</div>

I don't know what could be the impact. You need to test it on another server.

But as you may have seen in the documentation, to run this operation, **you must block the index** for write operations.

```auto
PUT /idx-discoveryproduct/_settings
{
  "settings": {
    "index.blocks.write": true 
  }
}

```

---

<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:** [November 26, 2021, 1:55pm UTC](https://discuss.elastic.co/t/elastic-search-aggregations-slow/286701/22 "2021-11-26T13:55:55Z")

</div>

Closed on November 26, 2021, 1:55pm UTC

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

[Previous page](https://discuss.elastic.co/t/elastic-search-aggregations-slow/286701.md?page=1)
