Respect the submission guidelines above! Drupal.org issue forks cause additional work for the project maintainer!

Setup

  • Solr version: 6.6
  • Drupal Core version:9
  • Search API version:
  • Search API Solr version:search_api_solr:^4.2'
  • Configured Solr Connector:

Issue

Hi,
I am facing issue with search on my site, wonder solr search the result and bring result in dropdown but when click search button or dropdown result no result shows in search page.

Although in drupal8 same peace of code working but in drupal9 it not return expected result.

Comments

Vir3nder created an issue. See original summary.

mkalkbrenner’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, but I don't understand your issue description. Please provide more details about the "dropdown".
Which version are you using. You selected 4.1.0 but wrote ^4.2.

Any errors in the logs?

vir3nder’s picture

Basically an input box is used for typing text to search items whenever user type text it bring results in auto suggestion but when click that suggestion nothing shown in search result page.

Warning log
Schema incomplete
There are some language-specific field types missing in schema of index on server .

Error log
Schema not up to date
There are some configuration elements missing in the Solr server schema < Solr>. This is likely due to using an outdated version of either Drupal or Solr. The recommended version is: drupal-4.2.3-solr-6.x. An updated config.zip should be downloaded and deployed to your Solr server.

mkalkbrenner’s picture

So you found the reason. Your schema is outdated and needs to be updated.

vir3nder’s picture

My query related to Solr field names where prefix automatically adding in field names.
Suppose field name is "tm_title" then it save in solr with prefix "tm_X3b_en_title".
Owing to X3b_en append search result is breaking.

seems this happen due to the language-specific mapping from Drupal to Solr field names at

search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend::formatSolrFieldNames()

Any clue to get rid of this?

mkalkbrenner’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

You can't get rid of it. This is how this module works.

vir3nder’s picture

I am not using any language module and not want to changed fields names because old fields name on solr have no _X3b_en_ character in fields name and search worked but now with solr_search_api module update it is not working.