Repeated LanguageInterface::LANGCODE_NOT_SPECIFIED

Created on 29 February 2024, 4 months ago
Updated 24 April 2024, 2 months ago

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

Setup

  • Solr version:
  • Drupal Core version:
  • Search API version:
  • Search API Solr version:
  • Configured Solr Connector:

Issue

A very small issue here. If the 'Use universal UTF-8 collation.' setting is enabled, in \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::getDocuments we end up with the 'not specified' language being repeatedly added to the array to set and it growing for each field. There is a check to ensure it doesn't actually repeatedly get added to the solr document, but still a small impact with checking that for each field.

πŸ› Bug report
Status

Fixed

Version

4.3

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom kimberleycgm

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

Comments & Activities

Production build 0.69.0 2024