Class FieldType
Describes the properties of a field.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class FieldType : object, IIndexableFieldType
Constructors
Name | Description |
---|---|
FieldType() | Create a new FieldType with default properties. |
FieldType(FieldType) | Create a new mutable FieldType with all of the properties from |
Properties
Name | Description |
---|---|
DocValueType | Sets the field's DocValuesType, or set to NONE if no DocValues should be stored. |
IndexOptions | Sets the indexing options for the field. The default is DOCS_AND_FREQS_AND_POSITIONS. |
IsClientStored | |
IsIndexed | Set to |
IsStored | Set to |
IsTokenized | Set to |
NumericPrecisionStep | Sets the numeric precision step for the field. This has no effect if NumericType returns NONE. The default is PRECISION_STEP_DEFAULT. |
NumericType | Specifies the field's numeric type, or set to |
OmitNorms | Set to |
StoreTermVectorOffsets | Set to |
StoreTermVectorPayloads | Set to |
StoreTermVectorPositions | Set to |
StoreTermVectors | Set to |
Methods
Name | Description |
---|---|
Freeze() | Prevents future changes. Note, it is recommended that this is called once the FieldType's properties have been set, to prevent unintentional state changes. |
ToString() | Prints a FieldType for human consumption. |