#NEWLINE# def search( self , query , size = 20 ) : #NEWLINE# #INDENT# '\n        Search the database.\n        ' #NEWLINE# index_cursor = IndexCursor ( self . index , self . es . search ) #NEWLINE# return query . search ( index_cursor , self . mapper , size )