"Did you mean?" - spellcheck feature is not working for multi-language.

Created on 4 December 2019, almost 5 years ago
Updated 21 April 2023, over 1 year ago

Spellcheck is not working for all the keywords which we are searching. It's working partially for English language and not at all working for non English languages. We have 14 languages enabled in our site.

For example with English language, we are getting an correct result when typing a word with typo for the word "International", but we are getting an empty set for most of the time when typing a word with typo. For example the word "Foundation" appears in many node body fields, But if we enter the word with a typo: like "Foundaton", We are getting an empty result with no suggestions. We expect, "Foundation" word to be suggested.

Also created additional aggregated fields for spell check and suggester with respect to existing body and title fields under created "index" (en/admin/config/search/search-api/index/lions/fields) just to check if the issue is resolved or not.

Following are the modules we are using for Solr search (not using Acquia search):
Solr 8.2.0
Drupal 8.7.7
Search API 8.x-1.15
Search API Solr 8.x-3.7
Search API Spellcheck 8.x-3.0-alpha1
Search API Autocomplete 8.x-1.2

Note: Here is the link which we followed for setting up the spellcheck https://www.drupal.org/docs/8/modules/search-api-solr/search-api-solr-ho...

Please suggest if we are missing anything.

💬 Support request
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India sandstrom

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

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