No results when the key is a combination of text and letter, hypens, and a mixed of uppercase and lowercase

Created on 10 November 2024, 14 days ago

Setup

  • Solr version:
  • Drupal Core version: 10.3.6
  • Search API version: 8.x-1.34
  • Search API Solr version:4.3.3
  • Configured Solr Connector:singlemode

No results when the key is a combination of text and letter, hypens, and a mixed of uppercase and lowercase

Hello,

Thank you for the amazing Search API Solr module. I have enjoyed using it since Drupal 7. Now on Drupal 10, I have built a view with a solr index. I indexed SKU field as Fulltext "ngram" because some of my SKU is a combination of text and letter, hypens, and a mixed of uppercase and lowercase.

I enabled the ignore character filter. Now in search, I can get results back with the "contains" operator for the following key

  • 12/12PRO-COB

But no result for the following searches.

  • 12/12PRO-Button
  • 3000powerbank
  • T40
  • xr-11
  • a28-6gxp

I also tried to index the SKU field as String type and use "is equal to" operator for the above searches, also no results. But for string type, it will return result for "12/12PRO-COB" without enabling the "ignore characters" processor.

Look forward to help how to make these search work.

Thank you in advance for your help!

πŸ› Bug report
Status

Active

Version

4.3

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States iseeaflyingcrane

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

Comments & Activities

Production build 0.71.5 2024