#NEWLINE# def textSearch( self , query , user = None , filters = None , limit = 0 , offset = 0 , sort = None , fields = None , level = AccessType . READ ) : #NEWLINE# #INDENT# filters = ( filters or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# cursor = Model . textSearch ( self , query = query , filters = filters , sort = sort , fields = fields ) #NEWLINE# return self . filterResultsByPermission ( cursor , user = user , level = level , limit = limit , offset = offset )