updated pyServer's pollSolr to take in a generic query string