I created a Search Server and an Index.
If I click 'save settings' on the edit page of the search api server, I get following notices:
Notice: Undefined index: host in SearchApiElasticsearchService->configurationFormValidate() (line 251 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc). You must enter a valid IP address for the elasticsearch daemon. Notice: Undefined index: port in SearchApiElasticsearchService->configurationFormValidate() (line 256 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc). You must enter a valid Port (between 0 and 65535) for the elasticsearch daemon.
But in the host field 127.0.0.1 is added, the same for the port field (it contains 9200).
If I click on 'index now' on the view page of the index, I get this:
Couldn't index items. Check the logs for details.
But I don't receive any apache2 log entries nor does Drupal recent log messages give anything.
Visiting the elastic search with my browser on port 9200 works, cause I get some JSON.
Original issue: https://www.drupal.org/node/2333157
I created a Search Server and an Index.
If I click 'save settings' on the edit page of the search api server, I get following notices:
Notice: Undefined index: host in SearchApiElasticsearchService->configurationFormValidate() (line 251 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc).
You must enter a valid IP address for the elasticsearch daemon.
Notice: Undefined index: port in SearchApiElasticsearchService->configurationFormValidate() (line 256 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc).
You must enter a valid Port (between 0 and 65535) for the elasticsearch daemon.
But in the host field 127.0.0.1 is added, the same for the port field (it contains 9200).
If I click on 'index now' on the view page of the index, I get this:
Couldn't index items. Check the logs for details.
But I don't receive any apache2 log entries nor does Drupal recent log messages give anything.
Visiting the elastic search with my browser on port 9200 works, cause I get some JSON.
Does anyone know what to do?