That may not work in all cases though i.e. may only find a whole word when it occurs within a sentence i.e. not at the beginning or end.
To solve this correctly may require regex support. Does anyone know whether the Discourse forum software offers regex functionality in the user search, as an advanced option if not by default?
I think that functionality relates to censorship of “offensive” words i.e. an administrative function, not functionality available for users just searching forum content.
A forum would only enable regex functionality for users with consideration and care because an accidental or malicious regex could chew up lots of server-side CPU but without achieving much or anything at all.
Don't forget about comma e.g. "CompanyName, whom I used last year, was really sh*t".
Anyway, with a mass of additional searches for fixed strings you could eventually cover fully the basic task of searching for a single word.
I would be very surprised that any more than a handfull of searchers on Choice would even know what a Regular Expression was and how to use one for detailed searches.
Unix weanies probably would, since Grep, Awk, and Perl are commonly used.
Just some basic logic tests would impove things as per Google searches.
And, or, not, to use with words.
Poli -policy -political is the sort of thing used to quickly refine Google search results.
Or perhaps poli and payment would narrow things down.