Server index status Error while checking server index status: An error occurred while trying to search with Solr: Error 404 Not Found HTTP ERROR 404 Not Found URI:/solr/lean/elevate STATUS:404 MESSAGE:Not Found SERVLET:default

Setup

  • PHP version: 7.4.30
  • Solr version: 8.11.2
  • Drupal Core version: 9.3.9
  • Search API version: 8.x-1.23
  • Search API Solr version: 4.2.7
  • Configured Solr Connector:

Issue

The server is connected, the index is enable and I can index the content successfully Content (221/221 indexed). However, there are not elements when I search and also the following message is shown in the index:

Server index status Error while checking server index status: An error occurred while trying to search with Solr: Error 404 Not Found HTTP ERROR 404 Not Found URI:/solr/lean/elevate STATUS:404 MESSAGE:Not Found SERVLET:default

Comments

thetwentyseven created an issue. See original summary.

mkalkbrenner’s picture

Category: Bug report » Support request

It seems like you didn't provide correct data for the connection in the settings.

mkalkbrenner’s picture

Or you activated the elevator component on the Drupal side without deploying a corresponding config to Solr.

mkalkbrenner’s picture

Status: Active » Closed (cannot reproduce)

No further feedback

mkalkbrenner’s picture

FYI someone showed me the similar error message in his environment. After rebooting the servers the error was gone.
So I assume that a software update or any other maintenance task caused that erroneous state.

mjpa’s picture

For us, this was caused by the following missing from solrconfig_extra.xml:

<!--
  Elevator
  7.0.0
-->
<requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
  <lst name="defaults">
    <str name="echoParams">explicit</str>
    <str name="df">id</str>
  </lst>
  <arr name="last-components">
    <str>elevator</str>
  </arr>
</requestHandler>
neha.gangwar’s picture

StatusFileSize
new25.81 KB

Elevator request handler was disabled. After enabling and updating the solrconfig_extra.xml works for me.