(self, stored=False, lowercase=False, commas=False,
                 vector=None, scorable=False, unique=False, field_boost=1.0,
                 spelling=False, sortable=False)
:param stored: Whether to store the value of the field with the
            document.
        :param comma: Whether this is a comma-separated field. If this is False
            (the default), it is treated as a space-separated field.
        :param scorable: Whether this field is scorable.
:param stored: Whether to store the value of the field with the
            document.
        :param comma: Whether this is a comma-separated field. If this is False
            (the default), it is treated as a space-separated field.
        :param scorable: Whether this field is scorable.
: param stored : Whether to store the value of the field with the document . : param comma : Whether this is a comma - separated field . If this is False ( the default ) it is treated as a space - separated field . : param scorable : Whether this field is scorable .
def __init__(self, stored=False, lowercase=False, commas=False,
                 vector=None, scorable=False, unique=False, field_boost=1.0,
                 spelling=False, sortable=False):
        """
        :param stored: Whether to store the value of the field with the
            document.
        :param comma: Whether this is a comma-separated field. If this is False
            (the default), it is treated as a space-separated field.
        :param scorable: Whether this field is scorable.
        """

        self.analyzer = analysis.KeywordAnalyzer(lowercase=lowercase,
                                                 commas=commas)
        self.format = formats.Frequency(field_boost=field_boost)
        self.scorable = scorable
        self.stored = stored
        self.unique = unique
        self.spelling = spelling

        if vector:
            if type(vector) is type:
                vector = vector()
            elif isinstance(vector, formats.Format):
                pass
            else:
                vector = self.format
        else:
            vector = None
        self.vector = vector

        if sortable:
            self.column_type = self.default_column()
def __init__ ( self , stored = False , lowercase = False , commas = False , vector = None , scorable = False , unique = False , field_boost = 1.0 , spelling = False , sortable = False ) : self . analyzer = analysis . KeywordAnalyzer ( lowercase = lowercase , commas = commas ) self . format = formats . Frequency ( field_boost = field_boost ) self . scorable = scorable self . stored = stored self . unique = unique self . spelling = spelling if vector : if type ( vector ) is type : vector = vector ( ) elif isinstance ( vector , formats . Format ) : pass else : vector = self . format else : vector = None self . vector = vector if sortable : self . column_type = self . default_column ( )