Grouping not working with search_api_solr

Created on 18 March 2021, almost 4 years ago
Updated 16 July 2024, 8 months ago

Problem/Motivation

When configuring grouping on a SolR search_index I get an error when the query takes place:
Notice: Undefined index: fields in Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend->setGrouping() (line 4267 of modules/contrib/search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php). This is because the configuration key 'grouping_fields' is passed to the SearchApiSolrBackend class an this key is not used here.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇧🇪Belgium LotharDesmet

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024