(self, fieldname, fieldtype, **kwargs)
Adds a field to the index's schema.

        :param fieldname: the name of the field to add.
        :param fieldtype: an instantiated :class:`whoosh.fields.FieldType`
            object.
Adds a field to the index's schema.
Adds a field to the index s schema .
def add_field(self, fieldname, fieldtype, **kwargs):
        """Adds a field to the index's schema.

        :param fieldname: the name of the field to add.
        :param fieldtype: an instantiated :class:`whoosh.fields.FieldType`
            object.
        """

        self.schema.add(fieldname, fieldtype, **kwargs)
def add_field ( self , fieldname , fieldtype , * * kwargs ) : self . schema . add ( fieldname , fieldtype , * * kwargs )