# How to keep segment count of active index small?

**URL:** <https://discuss.elastic.co/t/how-to-keep-segment-count-of-active-index-small/76375>\
**Category:** Elasticsearch\
**Created:** [February 24, 2017, 9:40am UTC](https://discuss.elastic.co/t/how-to-keep-segment-count-of-active-index-small/76375 "2017-02-24T09:40:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [February 24, 2017, 10:26am UTC](https://discuss.elastic.co/t/how-to-keep-segment-count-of-active-index-small/76375/5 "2017-02-24T10:26:10Z")

</div>

Thanks!

We do have a query perf issue which I asked in another topic:

> [@ES query performance when searching on filed with wildcard in field name](https://discuss.elastic.co/t/es-query-performance-when-searching-on-filed-with-wildcard-in-field-name/75658):
>
> I saw significant performance difference between searching on field with exact field name and searching on field with wildcard suffix i name. Following is my mapping: PUT /myindex { "mappings": { "docs": { "Locale": { "type": "text", "fields": { "lowercaseraw": { "type": "text", "analyzer": "lowercase\_keyword" } }, "analyzer": "standard" }, …

Could you please take a look?

---

_[View the full topic](https://discuss.elastic.co/t/how-to-keep-segment-count-of-active-index-small/76375)._
