elasticsearchdrupal-8elastica

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


I want configure elasticsearch(ES) with Drupal to integrate ES in Drupal following this tutorial
In order to install ES followed steps mentioned on this 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

After added modules can see this below screenshot enter image description here Elastic search connector Search api

But when I want enable added modules as mentioned in steps,got below error

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

enter image description here

Referred this stack question

Is it due to compability issue or how to resolve issue any leads will be appreciated?


Solution

  • Adding this answer to support community. Yes, indeed it was version incompatibility issue between drupal, elastic-search and drupal-elasticsearch connector and search api.. Tried number of combinations by installing modules manually but keep getting below error.

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

    Used composer tool to install modules which work exactly like maven in java project.

    composer require 'drupal/search_api:^add version accordingly'
    composer require 'drupal/elasticsearch_connector:^add version accordingly'