TEXT FIELDS NOT GETTING IMPORTED

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.

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

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

So please share a solution with others.

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
},