Example #1
0
        private static FieldType LoadType() // LUCENENET: Avoid static constructors (see https://github.com/apache/lucenenet/pull/224#issuecomment-469284006)
        {
            var type = new FieldType
            {
                IsIndexed = true
            };

            type.Freeze();
            return(type);
        }
Example #2
0
 static SortedSetDocValuesFacetField()
 {
     TYPE.Indexed = true;
     TYPE.Freeze();
 }