[Plugin: Relevanssi – A Better Search] [Plugin: Relevanssi] Hyphens in search terms
-
Great plugin by the way – I use it on many sites.
I’m confused about how Relevanssi deals with hyphens in search terms. I recently created a website concerning the European e-Inclusion Awards and I’ve used Relevanssi for the search on that site: https://www.e-inclusionawards.eu
But unexpected and undesirable things happen if someone tries a search on e-inclusion. Basically it seems as though Relevanssi is treating e-inclusion as two words and so is finding all posts featuring ‘inclusion’ and all posts containing ‘e’. Not surprisingly this finds many pages and all the e’s in all the words are being nicely highlighted.
I’ve checked my minumum word length and it is set to 3 so I’m surprised that the plugin would attempt a search on one letter in this way.
Is there any way of enforcing the minimum word length in all portions of hyphenated words?
Any help you can give me would be gratefully received.
- The topic ‘[Plugin: Relevanssi – A Better Search] [Plugin: Relevanssi] Hyphens in search terms’ is closed to new replies.