A bug indeed,
I just fixed it:
https://github.com/discourse/discourse/commit/139314c2133fb74a9e94ffbdc92f3551de279bea
Also added some rudimentary support for exact term matching.
Will take a bit till it is live here, cause rubygems is having a minor freakout at the moment.