Core search-code for GroupServer.