Exception while storing data more than 32K

(Hanish Bansal) #1

Hi All,

We are getting exception while storing data more than 32K in an index field. We just need to store the data without any indexing.

Elasticsearch version: 6.0.0
Field Data Type: "type": "keyword" and "index": false

[2018-01-21T19:51:07,956][DEBUG][o.e.a.b.TransportShardBulkAction] [fwall_feeds_data][4] failed to execute bulk item (update) BulkShardRequest [[fwall_feeds_data][4]] containing [5] requests
java.lang.IllegalArgumentException: DocValuesField "nlp_data" is too large, must be <= 32766

Please suggest how can we resolve this issue.

(David Pilato) #2

If you don't need to index the data, then use a type text and set index: false:


(Hanish Bansal) #3

Thanks @dadoonet for quick response .

Is there any size limit on text type also?

(David Pilato) #4

Yes but much much higher. Can't recall from the top of my my head but it's much much more.

(Hanish Bansal) #5

Thanks @dadoonet.

(system) #6

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