# Bad performance with large text field

**URL:** <https://discuss.elastic.co/t/bad-performance-with-large-text-field/138415>\
**Category:** Elasticsearch\
**Created:** [July 3, 2018, 3:24pm UTC](https://discuss.elastic.co/t/bad-performance-with-large-text-field/138415 "2018-07-03T15:24:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.van.rooijen](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@tim.van.rooijen](https://discuss.elastic.co/u/tim.van.rooijen)\
**Post date:** [July 3, 2018, 3:24pm UTC](https://discuss.elastic.co/t/bad-performance-with-large-text-field/138415/1 "2018-07-03T15:24:33Z")

</div>

Hi,

Have an index witch contains a large text field (not extreme 2000 lines max).  
The field does not have to be searchable. Wanna be able to view the data in the discover tab.

Currently i have the following mapping:

"requestBody": {  
"type": "object",  
"enabled": false  
},

Is this correct or is there a better approach?  
Even with only 10000 documents the discover tab in kibana gets extremly slow.

Kind regards Tim

---

<div class="post-metadata">

**Author:** ![cbuescher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cbuescher/32/60402_2.png) [@cbuescher](https://discuss.elastic.co/u/cbuescher)\
**Post date:** [July 6, 2018, 5:05pm UTC](https://discuss.elastic.co/t/bad-performance-with-large-text-field/138415/2 "2018-07-06T17:05:45Z")

</div>

> [@tim.van.rooijen](#):
>
> large text field (not extreme 2000 lines max)

How many characters would that be on average?

> Even with only 10000 documents

Is that documents in the index or are you trying to load them all in the discover tab? I'm not exactly sure how that works in kibana and how many documents it loads by default, that's why I'm asking

> "requestBody": {  
> "type": "object",  
> "enabled": false  
> },

Why is this an object? It shouldn't matter but I think you don't need it, `"enabled": false` should do the trick.

---

<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:** [August 3, 2018, 5:05pm UTC](https://discuss.elastic.co/t/bad-performance-with-large-text-field/138415/3 "2018-08-03T17:05:47Z")

</div>

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