搜索中隐藏用户,使其对另一组不可见

I think you would need a plugin doing that.
There are similar topics like All users are visible in @mentions autocomplete list - #2 by pfaffman. You will find more looking at the related topics.