After saving the Elasticsearch settings for connection it says the connection is enabled but on top it show me the following error messages.

Notice: Undefined index: cluster_name in SearchApiElasticsearchAbstractService->getExtraInformation() (line 942 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: status in SearchApiElasticsearchAbstractService->getExtraInformation() (line 946 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: number_of_nodes in SearchApiElasticsearchAbstractService->getExtraInformation() (line 950 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: number_of_data_nodes in SearchApiElasticsearchAbstractService->getExtraInformation() (line 954 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: active_primary_shards in SearchApiElasticsearchAbstractService->getExtraInformation() (line 958 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: active_shards in SearchApiElasticsearchAbstractService->getExtraInformation() (line 962 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: relocating_shards in SearchApiElasticsearchAbstractService->getExtraInformation() (line 966 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: initializing_shards in SearchApiElasticsearchAbstractService->getExtraInformation() (line 970 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).
Notice: Undefined index: unassigned_shards in SearchApiElasticsearchAbstractService->getExtraInformation() (line 974 of /html/stage2/sites/all/modules/search_api_elasticsearch/includes/SearchApiElasticsearchAbstractService.inc).

Comments

alexander.sibert’s picture

Issue summary: View changes
alexander.sibert’s picture

Issue summary: View changes
alexander.sibert’s picture

I changed the Elastic search provider and now it works without these errors above. This was a connection issue.

  • Brian Altenhofel committed 909bc1e on 7.x-1.x
    Issue #2372963: Extra information shouldn't be attempted unless the...
Anonymous’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Andreas Radloff’s picture

I had the same issue, this resolved it: https://www.drupal.org/node/2338465#comment-9481539