elasticsearch - 网站遇到意外错误。请稍后再试。德鲁巴 8

标签 elasticsearch drupal-8 elastica

我想用 Drupal 配置 elasticsearch(ES)
按照 tutorial 将 ES 集成到 Drupal 中
为了安装 ES,请按照 link 中提到的步骤进行操作。

Drupal-8.8.4
search api version-8.x-1.15
Elasticsearch drupal connector-8.x-6.x,also tried 8.x-7.x but no success

添加模块后可以看到下面的截图
enter image description here
Elastic search connector
Search api

但是当我想启用步骤中提到的添加模块时,出现以下错误
the website encountered an unexpected error. please try again later.

enter image description here

引用此 stack question

是由于兼容性问题还是如何解决问题
任何线索将不胜感激?

最佳答案

添加此答案以支持社区。
是的,确实是drupal、elastic-search和drupal-elasticsearch连接器和搜索api之间的版本不兼容问题。
通过手动安装模块尝试了多种组合,但一直低于错误。

the website encountered an unexpected error. please try again later.

使用 composer 工具来安装与 java 项目中的 maven 完全一样的模块。
composer require 'drupal/search_api:^add version accordingly'
composer require 'drupal/elasticsearch_connector:^add version accordingly'

关于elasticsearch - 网站遇到意外错误。请稍后再试。德鲁巴 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60949251/

相关文章:

elasticsearch - 提升更像这个elasticsearch

elasticsearch - ElasticSearch Spark错误

drupal - 如何使用 Drupal 8 设置 CORS

css - 在 Drupal 主题中调整大 Logo 的大小

php - 如何将查询 url 参数传递给 Twig 模板

ElasticSearch - 在名称中使用连字符进行搜索

php - Elasticsearch Not 运算符不起作用

c# - 匹配源ElasticSearch Nest中的每个字段

php - Elastica在setScript之前未对聚合进行分组

symfony - 使用fos:elastica:populate时检测到循环引用