# How would index-pattern affect my search performances

**URL:** https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311
**Category:** Kibana
**Created:** [March 28, 2017, 2:31pm UTC](https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311 "2017-03-28T14:31:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Indyan\_Minerva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indyan_minerva/32/16803_2.png) [@Indyan\_Minerva](https://discuss.elastic.co/u/Indyan_Minerva)
#### Post date: [March 28, 2017, 2:31pm UTC](https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311/1 "2017-03-28T14:31:22Z")

</div>

I am using kibana's index-pattern to display the numbers in a human friendly way (to display the number of bytes in MB and GB etc). How does it effect the search performance?

Below is an excerpt from the index-pattern for the field 'something' :  
{"name":"something","type":"number","count":0,"scripted":false,"indexed":true,"analyzed":false,"doc\_values":true,"searchable":true,"aggregatable":true}]","fieldFormatMap":"{"something":{"id":"bytes"}}"}

This index-template config helps me displaying the aggregated value of "something" in GBs.

How is this fieldFormatMap used? Is this applied on each every document on just on the aggregated result?

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [March 28, 2017, 6:31pm UTC](https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311/2 "2017-03-28T18:31:58Z")

</div>

The formatting done by Kibana's index patterns is all done at display time so it won't have any effect on search performance. Elasticsearch is completely unaware of the field formatters

---

<div class="post-metadata">

### Author: ![Indyan\_Minerva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indyan_minerva/32/16803_2.png) [@Indyan\_Minerva](https://discuss.elastic.co/u/Indyan_Minerva)
#### Post date: [March 29, 2017, 5:53am UTC](https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311/3 "2017-03-29T05:53:05Z")

</div>

HI!

Thanks for the reply.

In my case, all the searches are happening through the Discover plugin of the kibana. Also as my is a dashboard application, I have a lot of visualisations already in place. Would this fieldFormatMap slow the loading of the visualisations down?

---

<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: [April 26, 2017, 5:53am UTC](https://discuss.elastic.co/t/how-would-index-pattern-affect-my-search-performances/80311/4 "2017-04-26T05:53:11Z")

</div>

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