Hi

If you install this module and go directly on search api add server you got this error.

Other case, if you install cluster then add server on search api, delete cluster, you got back this error in search api page.

then cannot uninstall module :'(

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Emerya.thomas created an issue. See original summary.

musa.thomas’s picture

Priority: Minor » Major
Issue summary: View changes
juampynr’s picture

StatusFileSize
new154.87 KB

In a clean Drupal installation, here is what I see when I open the Search API's main admin page:

Search API error due to Elasticsearch Connector

However, if you add the server via the Elasticsearch Connector admin form and then open that Search API admin form, then you can add the Elasticsearch server successfully. Further details on how to do this can be found at https://www.lullabot.com/articles/indexing-content-from-drupal-8-to-elas....

dakku’s picture

StatusFileSize
new106.91 KB

Confirming this behaviour.
It works if you add the cluster via admin/config/search/elasticsearch-connector/cluster/add

But not through the Search API Config

elasticsearch

markdorison’s picture

I am experiencing this same issue as well.

eloivaque’s picture

Same error. #3 works for me.

Is important to check "Make this cluster default connection"

grimreaper’s picture

ash2303’s picture

Version: 8.x-5.x-dev » 8.x-7.x-dev
ash2303’s picture

Changed version of issue to 8.x-7.x and uploading a patch to fail gracefully.

ash2303’s picture

StatusFileSize
new3.63 KB
ash2303’s picture

Status: Active » Needs review
psf_’s picture

#10 don't work for me, the page enter in infinite loop.

psf_’s picture

Status: Needs review » Needs work
psf_’s picture

In my case the problem come using configuration split, this module settings was moved from general configuration folder to the a split folder. Importing configuration this module become unconfigured, and lock all the site.

lucasvm’s picture

#3 worked for me, first you need to add a cluster on admin/config/search/elasticsearch-connector/cluster/add then it will appear on the admin page.

mpp made their first commit to this issue’s fork.