change query fields to a hash set in client query command.  expand query fields client api to add a few more functions