Setup
- Solr version: 8.8.2
- Drupal Core version: 9.1.9
- Search API version: 8.x-1.19
- Search API Solr version: 4.1.11
Issue
search_api_solr/src/Plugin/search_api/backend/SearchApiSolrBackend.php
Line: 2452
Code: sprintf('%.1f', $boost)
the problem is the sprintf with parameter "f" - "the argument is treated as a float and presented as a floating-point number (locale aware). "
On German Websites (locale=de_De) this leads to a boost_term "String|1,0" and this throw´s a error on the solr server
-> possible analysis error: For input string: "5,0"
You have to use the paramter '%.1F' instead
Comments
Comment #2
t.seifert commentedComment #3
t.seifert commentedComment #4
mkalkbrennerComment #5
mkalkbrennerComment #7
mkalkbrenner