def get_request_query(self):
query = {}<EOL>indexes = self.catalog.get_indexes()<EOL>for index in indexes:<EOL><INDENT>value = req.get(index)<EOL>if value is None:<EOL><INDENT>continue<EOL><DEDENT>index_value = self.catalog.to_index_value(value, index)<EOL>if index_value is None:<EOL><INDENT>continue<EOL><DEDENT>query[index] = index_value<EOL><DEDENT>return query<EOL>
Checks the request for known catalog indexes and converts the values
        to fit the type of the catalog index.

        :param catalog: The catalog to build the query for
        :type catalog: ZCatalog
        :returns: Catalog query
        :rtype: dict