ES: added support for query string in hashmanager

Added support for hashes that contains a query string