mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-01 16:46:16 +00:00
Add latest changes from gitlab-org/gitlab@17-11-stable-ee
This commit is contained in:
@ -15,5 +15,5 @@ title: Troubleshooting Elasticsearch
|
|||||||
When working with Elasticsearch, you might encounter issues with:
|
When working with Elasticsearch, you might encounter issues with:
|
||||||
|
|
||||||
- [Elasticsearch access](access.md)
|
- [Elasticsearch access](access.md)
|
||||||
- [Elasticsearch indexing](indexing.md)
|
- [Elasticsearch indexing and searching](indexing.md)
|
||||||
- [Elasticsearch migrations](migrations.md)
|
- [Elasticsearch migrations](migrations.md)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
stage: Foundations
|
stage: Foundations
|
||||||
group: Global Search
|
group: Global Search
|
||||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||||
title: Troubleshooting Elasticsearch indexing
|
title: Troubleshooting Elasticsearch indexing and searching
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< details >}}
|
{{< details >}}
|
||||||
@ -12,7 +12,7 @@ title: Troubleshooting Elasticsearch indexing
|
|||||||
|
|
||||||
{{< /details >}}
|
{{< /details >}}
|
||||||
|
|
||||||
When working with Elasticsearch indexing, you might encounter the following issues.
|
When working with Elasticsearch indexing or searching, you might encounter the following issues.
|
||||||
|
|
||||||
## Create an empty index
|
## Create an empty index
|
||||||
|
|
||||||
@ -158,6 +158,16 @@ To resolve this error, disconnect one of the GitLab instances from using the Ela
|
|||||||
|
|
||||||
For more information, see [issue 3421](https://gitlab.com/gitlab-org/gitlab/-/issues/3421).
|
For more information, see [issue 3421](https://gitlab.com/gitlab-org/gitlab/-/issues/3421).
|
||||||
|
|
||||||
|
## Search fails with `too_many_clauses: maxClauseCount is set to 1024`
|
||||||
|
|
||||||
|
This error occurs when a query has more clauses than defined in the `indices.query.bool.max_clause_count` setting:
|
||||||
|
|
||||||
|
- [In Elasticsearch 7.17 and earlier](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/search-settings.html), the default value is `1024`.
|
||||||
|
- [In Elasticsearch 8.0](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/search-settings.html), the default value is `4096`.
|
||||||
|
- [In Elasticsearch 8.1 and later](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/search-settings.html), the setting is deprecated and the value is dynamically determined.
|
||||||
|
|
||||||
|
To resolve this issue, increase the value or upgrade Elasticsearch 8.1 or later. Increasing the value may lead to performance degradation.
|
||||||
|
|
||||||
## Last resort to recreate an index
|
## Last resort to recreate an index
|
||||||
|
|
||||||
There may be cases where somehow data never got indexed and it's not in the
|
There may be cases where somehow data never got indexed and it's not in the
|
||||||
|
Reference in New Issue
Block a user