Adding script.max_size_in_bytes: 10000000 is not considered in elastisearch

Default value of max_size_in_bytes in elastic 6.5 seems to be 16384 . I am using a wyomind magneto 2 search plugin which is throwing following issue if search result contains a lot of data. If search result contains less data, it works fine.

Scripts may be no longer than 16384 characters. The passed in script is 21878 characters. Consider using a plugin if a script longer than this length is a requirement.

I have added script.max_size_in_bytes: 10000000 in elasticsearch.yml and restarted it. Still I am getting above error.

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