No results for search term containing ampersand

Created on 12 June 2019, about 5 years ago
Updated 2 September 2019, about 5 years ago

I'm getting no results for a search term containing an ampersand like "H&M" despite having multiple indexed nodes with titles that contain the same string. I'm sure this is something I can cater for via a processor (Tokenizer?) but I'm unsure about how to go about it. I'm using the regular "Database Search" backend rather than Solr etc. Can anyone give me a pointer here?

🐛 Bug report
Status

Needs work

Version

1.0

Component

Database backend

Created by

🇬🇧United Kingdom danbohea

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.

  • I have the same issue. Terms like "R&R" are treated as "R R" thus search api searches and highlights all the letters. It should however treat R&R as one word. Can't figure this out, I tried the \W and disabled certain processors, however I can't get it to work, it keeps searching and highlighting the letter R.

Production build 0.71.5 2024