#NEWLINE# def estimate_size( self , searcher ) : #NEWLINE# #INDENT# max_df = 0 #NEWLINE# text = self . text #NEWLINE# for fieldname in self . fieldnames : #NEWLINE# #INDENT# fieldnum = searcher . fieldname_to_num ( fieldname ) #NEWLINE# df = searcher . doc_frequency ( fieldnum , text ) #NEWLINE# if ( df > max_df ) : #NEWLINE# #INDENT# max_df = df #NEWLINE# #UNINDENT# #UNINDENT# return max_df