def raw_search(self, query='<STR_LIT>', params=None):
if params is None:<EOL><INDENT>params = {}<EOL><DEDENT>try:<EOL><INDENT>return self.__index.search(query, params)<EOL><DEDENT>except AlgoliaException as e:<EOL><INDENT>if DEBUG:<EOL><INDENT>raise e<EOL><DEDENT>else:<EOL><INDENT>logger.warning('<STR_LIT>', self.index_name, e)<EOL><DEDENT><DEDENT>
Performs a search query and returns the parsed JSON.