# TEXT FIELDS NOT GETTING IMPORTED

**URL:** https://discuss.elastic.co/t/text-fields-not-getting-imported/314052
**Category:** Kibana
**Created:** [September 9, 2022, 11:18am UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052 "2022-09-09T11:18:08Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Shashank02](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shashank02/32/99866_2.png) [@Shashank02](https://discuss.elastic.co/u/Shashank02)
#### Post date: [September 9, 2022, 11:18am UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/1 "2022-09-09T11:18:08Z")

</div>

Text fields are not optimized for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [hashtags] in order to load field data by uninverting the inverted index. Note that this can use significant memory.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 9, 2022, 7:57pm UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/2 "2022-09-09T19:57:19Z")

</div>

Hello,

Can you please reframe this as a question? where are the text fields not getting imported? What are you trying to do in Kibana?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Shashank02](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shashank02/32/99866_2.png) [@Shashank02](https://discuss.elastic.co/u/Shashank02)
#### Post date: [September 24, 2022, 4:30pm UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/3 "2022-09-24T16:30:09Z")

</div>

Thanks for the reply, but I got the solution for it. Sry had not seen the reply beforehand!!

---

<div class="post-metadata">

### Author: ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)
#### Post date: [October 18, 2022, 12:29pm UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/4 "2022-10-18T12:29:02Z")

</div>

So please share a solution with others.

---

<div class="post-metadata">

### Author: ![Shashank02](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shashank02/32/99866_2.png) [@Shashank02](https://discuss.elastic.co/u/Shashank02)
#### Post date: [October 20, 2022, 9:06am UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/5 "2022-10-20T09:06:20Z")

</div>

Yeah!! So while uploading the CSV file we have to make some changes in the mappings. If the 'type" of the object is "text" then we have to add another line to it and write "fielddata": true.  
For ex. "cleanText": {  
"type": "text",  
"fielddata": 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 17, 2022, 3:14am UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/6 "2022-11-17T03:14:09Z")

</div>



---

<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: [December 15, 2022, 12:01am UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/7 "2022-12-15T00:01:05Z")

</div>



---

<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: [January 11, 2023, 8:30pm UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/8 "2023-01-11T20:30:08Z")

</div>



---

<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: [February 8, 2023, 8:31pm UTC](https://discuss.elastic.co/t/text-fields-not-getting-imported/314052/9 "2023-02-08T20:31:07Z")

</div>

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