Islandora-Devops / isle-dc

ISLE 8 - Dockerized Islandora 8 Deployment orchestrated with docker-compose
MIT License
23 stars 60 forks source link

Wrong default Solr path in search_api_solr. #180

Open bondjimbond opened 3 years ago

bondjimbond commented 3 years ago

I discovered in my ISLE-DC implementation that Solr wasn't working because the default path was incorrect.

In the search_api_solr connector config, the default path is given as /solr.

This means that the the service is trying to use the path /solr/solr, and leads to Solr failing to execute searches with the following error:

Request #1. Search API Solr Debug: Response => Array ( [request count] => 1 [datetime] => 2021-08-06T14:56:20+00:00 [query_time] => Solr query took 4.16ms. [Solr response headers] => Array ( [0] => HTTP/1.1 404 OK ) [Solr response body] => Error 404 Not Found
HTTP ERROR 404
Problem accessing /solr/solr/ISLANDORA/select. Reason:

    Not Found
)

The Solr path needs to be set to /. This provides working search results.

DonRichards commented 2 years ago

@bondjimbond Do we know where this path is incorrectly specified?