Why elasticsearch still check the length of a keyword field, even if it's not indexed?

Read this and specifically the "Also be patient" part.

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.