Typo in value for $flatten_query in SearchApiSolrBackend.php

Created on 26 July 2023, over 1 year ago
Updated 27 July 2023, over 1 year ago

Setup

  • Solr version: 7.73
  • Drupal Core version: 9.5.9
  • Search API version: 8.x-1.29
  • Search API Solr version: 4.2.10
  • Configured Solr Connector: Standard

Issue

After noticing that a very basic view using Solr (one indexed field returned, no ordering, sorts or filters) only returned results on the default view (no results on any page views created), I dug into the code a bit and with the help of search_api_solr_devel I identified what I think is a typo in the code:

documentoost instead of documentboost in line 1866 of SearchApiSolrBackend.php.

In any case, changing it as indicated started giving me results straight away! If someone else coud confirm, that would be great.

🐛 Bug report
Status

Closed: outdated

Version

4.2

Component

Code

Created by

🇫🇷France paulbeaney

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024