#NEWLINE# def get_range( self , document_class = None , **kwargs ) : #NEWLINE# #INDENT# "Get a list of documents from the Search API without actually doing\n        a search.\n\n        Takes all the same kwargs that the Search API's get_range takes, plus a\n        `document_class` arg for which to construct document objects. If it's\n        omitted, the documents are returned as they would be normally from the\n        Search API.\n        " #NEWLINE# ids_only = kwargs . get ( 'ids_only' ) #NEWLINE# docs = self . _index . get_range ( ** kwargs ) #NEWLINE# document_class = ( document_class or self . document_class ) #NEWLINE# if doc : #NEWLINE# #INDENT# return [ doc . doc_id for doc in docs ] #NEWLINE# #UNINDENT# if document_class : #NEWLINE# #INDENT# return [ construct_document ( document_class , doc ) for doc in docs ] #NEWLINE# #UNINDENT# return docs