#NEWLINE# def docs( self , searcher , exclude_docs = None ) : #NEWLINE# #INDENT# fieldnum = searcher . fieldname_to_num ( self . fieldname ) #NEWLINE# text = self . text #NEWLINE# if ( ( fieldnum , text ) in searcher ) : #NEWLINE# #INDENT# for ( docnum , _ ) in searcher . postings ( fieldnum , text , exclude_docs = exclude_docs ) : #NEWLINE# #INDENT# ( yield docnum )