We are currently replacing our product search from mysql to a SOLR backend. Our customer often search for terms like ‘startrek online’, ‘starwars’, ‘redsteel’ or even ‘grandtheftauto’. Is there a method in SOLR to either expand or spellcheck these searches into syllables eg.’star trek online’, ‘star wars’, ‘red steel’, ‘grand theft auto’?
Share
You can use a synonym file. Take a look into this documenation site (solr.SynonymFilterFactory):
For the searchquery splitting the WordDelimiterFilterFactory could match partially your needs, but maybe the synomymfilter is easier and better (+ probably faster).