Example #1
0
 static LongField()
 {
     TYPE_NOT_STORED.Indexed          = true;
     TYPE_NOT_STORED.Tokenized        = true;
     TYPE_NOT_STORED.OmitNorms        = true;
     TYPE_NOT_STORED.IndexOptions     = FieldInfo.IndexOptions.DOCS_ONLY;
     TYPE_NOT_STORED.NumericTypeValue = Documents.FieldType.NumericType.LONG;
     TYPE_NOT_STORED.Freeze();
     TYPE_STORED.Indexed          = true;
     TYPE_STORED.Tokenized        = true;
     TYPE_STORED.OmitNorms        = true;
     TYPE_STORED.IndexOptions     = FieldInfo.IndexOptions.DOCS_ONLY;
     TYPE_STORED.NumericTypeValue = Documents.FieldType.NumericType.LONG;
     TYPE_STORED.Stored           = true;
     TYPE_STORED.Freeze();
 }
Example #2
0
        static Int64Field()
        {
            TYPE_NOT_STORED.IsIndexed    = true;
            TYPE_NOT_STORED.IsTokenized  = true;
            TYPE_NOT_STORED.OmitNorms    = true;
            TYPE_NOT_STORED.IndexOptions = IndexOptions.DOCS_ONLY;
            TYPE_NOT_STORED.NumericType  = NumericType.INT64;
            TYPE_NOT_STORED.Freeze();

            TYPE_STORED.IsIndexed    = true;
            TYPE_STORED.IsTokenized  = true;
            TYPE_STORED.OmitNorms    = true;
            TYPE_STORED.IndexOptions = IndexOptions.DOCS_ONLY;
            TYPE_STORED.NumericType  = NumericType.INT64;
            TYPE_STORED.IsStored     = true;
            TYPE_STORED.Freeze();
        }
Example #3
0
        static SingleField()
        {
            TYPE_NOT_STORED.IsIndexed    = true;
            TYPE_NOT_STORED.IsTokenized  = true;
            TYPE_NOT_STORED.OmitNorms    = true;
            TYPE_NOT_STORED.IndexOptions = IndexOptions.DOCS_ONLY;
            TYPE_NOT_STORED.NumericType  = Documents.NumericType.SINGLE;
            TYPE_NOT_STORED.Freeze();

            TYPE_STORED.IsIndexed    = true;
            TYPE_STORED.IsTokenized  = true;
            TYPE_STORED.OmitNorms    = true;
            TYPE_STORED.IndexOptions = IndexOptions.DOCS_ONLY;
            TYPE_STORED.NumericType  = Documents.NumericType.SINGLE;
            TYPE_STORED.IsStored     = true;
            TYPE_STORED.Freeze();
        }