Commit 00ebc97a authored by Dylan Griffith's avatar Dylan Griffith

Merge branch '218576-fix-argument-exception' into 'master'

Fix ES illegal_argument_exception

Closes #218576

See merge request gitlab-org/gitlab!33176
parents b569e0c9 e56e12c3
---
title: Fix Elasticsearch illegal_argument_exception when searching for large files
merge_request: 33176
author:
type: fixed
......@@ -16,6 +16,9 @@ module Elastic
index: {
number_of_shards: Elastic::AsJSON.new { Gitlab::CurrentSettings.elasticsearch_shards },
number_of_replicas: Elastic::AsJSON.new { Gitlab::CurrentSettings.elasticsearch_replicas },
highlight: {
max_analyzed_offset: 1.megabyte
},
codec: 'best_compression',
analysis: {
analyzer: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment