(self, fieldname)
Returns the maximum length of the field across all documents.
Returns the maximum length of the field across all documents.
Returns the maximum length of the field across all documents .
def max_field_length(self, fieldname):
        """Returns the maximum length of the field across all documents.
        """

        r = self.reader()
        try:
            return r.max_field_length(fieldname)
        finally:
            r.close()
def max_field_length ( self , fieldname ) : r = self . reader ( ) try : return r . max_field_length ( fieldname ) finally : r . close ( )