Error when editing Elasticsearch index from Search Api

Created on 1 March 2019, over 5 years ago
Updated 10 April 2023, over 1 year ago

The website encountered an unexpected error. Please try again later.
Error: Class 'Drupal\elasticsearch_connector\ElasticSearch\Parameters\Factory\Cluster' not found in Drupal\elasticsearch_connector\ElasticSearch\Parameters\Factory\IndexFactory::getIndexName() (line 232 of modules/contrib/elasticsearch_connector/src/ElasticSearch/Parameters/Factory/IndexFactory.php).
Drupal\elasticsearch_connector\ElasticSearch\Parameters\Factory\IndexFactory::getIndexName(Object) (Line: 39)
Drupal\elasticsearch_connector\ElasticSearch\Parameters\Factory\IndexFactory::index(Object) (Line: 390)
Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend->updateIndex(Object) (Line: 283)
Drupal\search_api\Entity\Server->updateIndex(Object) (Line: 1428)
Drupal\search_api\Entity\Index->reactToServerSwitch(Object) (Line: 1353)
Drupal\search_api\Entity\Index->postSave(Object, 1) (Line: 51)
Drupal\search_api\Entity\SearchApiConfigEntityStorage->doPostSave(Object, 1) (Line: 432)

I have these modules enabled:

"require": {
"acquia/lightning": "~3.2.4",
"drupal/elasticsearch_aws_connector": "5.x-dev",
"drupal/elasticsearch_connector": "~5.0",
"drupal/search_api": "~1.11"
}

🐛 Bug report
Status

Needs review

Version

5.0

Component

Elasticsearch Connector Search API

Created by

🇺🇸United States dkh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024