🇮🇹Italy @charly71

Account created on 4 July 2006, over 18 years ago
#

Recent comments

🇮🇹Italy charly71

Nice work!

But.. but... I got the new option but the number near the label still remains the same.
Have you some update?

Thanks

🇮🇹Italy charly71

I tried this patch and it works:

diff --git a/modules/contrib/search_api_synonym/src/Plugin/search_api_synonym/export/Solr.php b/modules/contrib/search_api_synonym/src/Plugin/search_api_synonym/export/Solr.php
index bf9ff4ed0..4b7a47279 100644
--- a/modules/contrib/search_api_synonym/src/Plugin/search_api_synonym/export/Solr.php
+++ b/modules/contrib/search_api_synonym/src/Plugin/search_api_synonym/export/Solr.php
@@ -57,10 +57,10 @@ private function generateLine($word, $synonyms, $type) {
     switch ($type) {
       case 'synonym':
         // We force using of equivalent mappings for type = synonym.
-        $line = "{$word}, {$synonyms}";
+        $line = "{$synonyms}, {$word}";
         break;
       case 'spelling_error':
-        $line = "{$word} => {$synonyms}";
+        $line = "{$synonyms} => {$word}";
         break;
     }
     return $line;
🇮🇹Italy charly71

Patch #80 work for us with Drupal 9.5.8 not with 9.5.9
Patch #82 doesn't work at all...

Production build 0.71.5 2024