使用外部托管的 Elasticsearch 实例进行高级搜索
Advanced Searching Using Externally-Hosted Elasticsearch Instance
我正在尝试为我的自托管 Gitlab 实例启用 Elasticsearch 搜索。
我的问题是:
我的 Gitlab 实例外部有一个 Elasticsearch 实例,即我的 Gitlab 实例托管在一台服务器上,而我的 Elasticsearch 实例托管在另一台服务器上。
我能否使用外部 Elasticsearch 实例来提供 Gitlab 启用高级搜索功能所需的 Elasticsearch 功能?
谢谢,
肖恩
只要您的 gitlab 实例和 Elasticsearch 实例之间有网络连接,您就可以使用 Elasticsearch 功能。
Elasticsearch 以 REST 请求的形式提供所有功能和 API,专为分布式系统而设计,其中应用程序的多个组件分别托管。
注意:您可以从您的 gitlab 实例中使用 curl 命令 curl :9200 来查看您是否有网络连接,如果没有,您可以使用安全设置启用它们,就像在 AWS 端口设置中一样,可以使用安全组。
注意:GitLab 15.0(2022 年 5 月)提供新选项。
Advanced Search is compatible with Elasticsearch 8
Elasticsearch 8 is the current version of Elasticsearch by Elastic. Previously, you could not use Elasticsearch 8 for Advanced Search. You had to use older versions instead. Starting in 15.0, you can use Elasticsearch 8 for Advanced Search.
- If you use Elasticsearch 7.x, you must upgrade to GitLab 15.0 before upgrading to Elasticsearch 8.
- If you use Elasticsearch 6.8, upgrade to any Elasticsearch 7.x version before upgrading to GitLab 15.0.
See Documentation and Epic.
甚至还有 GitLab 15.0(2022 年 5 月)
Advanced Search is compatible with OpenSearch
OpenSearch is an open source Elasticsearch fork. Prior to GitLab 15.0, Advanced Search was not compatible with OpenSearch. If you used AWS-managed services, you had to use older versions of Elasticsearch.
You can now take full advantage of OpenSearch for Advanced Search.
See Documentation and Epic.
我正在尝试为我的自托管 Gitlab 实例启用 Elasticsearch 搜索。
我的问题是:
我的 Gitlab 实例外部有一个 Elasticsearch 实例,即我的 Gitlab 实例托管在一台服务器上,而我的 Elasticsearch 实例托管在另一台服务器上。
我能否使用外部 Elasticsearch 实例来提供 Gitlab 启用高级搜索功能所需的 Elasticsearch 功能?
谢谢, 肖恩
只要您的 gitlab 实例和 Elasticsearch 实例之间有网络连接,您就可以使用 Elasticsearch 功能。
Elasticsearch 以 REST 请求的形式提供所有功能和 API,专为分布式系统而设计,其中应用程序的多个组件分别托管。
注意:您可以从您的 gitlab 实例中使用 curl 命令 curl :9200 来查看您是否有网络连接,如果没有,您可以使用安全设置启用它们,就像在 AWS 端口设置中一样,可以使用安全组。
注意:GitLab 15.0(2022 年 5 月)提供新选项。
Advanced Search is compatible with Elasticsearch 8
Elasticsearch 8 is the current version of Elasticsearch by Elastic. Previously, you could not use Elasticsearch 8 for Advanced Search. You had to use older versions instead. Starting in 15.0, you can use Elasticsearch 8 for Advanced Search.
- If you use Elasticsearch 7.x, you must upgrade to GitLab 15.0 before upgrading to Elasticsearch 8.
- If you use Elasticsearch 6.8, upgrade to any Elasticsearch 7.x version before upgrading to GitLab 15.0.
See Documentation and Epic.
甚至还有 GitLab 15.0(2022 年 5 月)
Advanced Search is compatible with OpenSearch
OpenSearch is an open source Elasticsearch fork. Prior to GitLab 15.0, Advanced Search was not compatible with OpenSearch. If you used AWS-managed services, you had to use older versions of Elasticsearch. You can now take full advantage of OpenSearch for Advanced Search.
See Documentation and Epic.