Backport missing ElasticSearch setting
What does this MR do?
This backports a missing ElasticSearch setting from EE to CE.
This setting was added to EE in MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14728, but was not backported to CE.