LPS-39205 abstract shared query suggestion logic
LPS-39205 Keeping things consistent with #spellCheckKeywords()