I'm new to Elasticsearch, using version 5.3.
As i understand, the length of
keyword field is limited to about 32K due to the limitation of Lucene's term byte-length limit of 32766.
But, the thing I don't understand is, when I set a field type to
store by default is
false, means that this field is not indexed and not stored.
When I save data that more than 32k into that field, I still get the error, says"DocValuesField "newField7" is too large, must be <= 32766".
As my question, why elasticsarch still check the length of this filed, even if I don't index nor store it?
Why not ignore it and just keep it in _source? Is there any other things that elasticearch still have to do with this field, even if it's not indexed nor stored?
I think elasticsearch do not need to store this field's data to a Lucene term, right? then why keep the limitation?