C# Class Lucene.Net.Documents.FieldType

Describes the properties of a field.
Inheritance: IndexableFieldType
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
FieldType ( ) : System

Create a new FieldType with default properties.

FieldType ( FieldType @ref ) : System

Create a new mutable FieldType with all of the properties from ref

Freeze ( ) : void

Prevents future changes. Note, it is recommended that this is called once the FieldTypes's properties have been set, to prevent unintentional state changes.

ToString ( ) : string

Prints a Field for human consumption.

Private Methods

Method Description
CheckIfFrozen ( ) : void

Method Details

FieldType() public method

Create a new FieldType with default properties.
public FieldType ( ) : System
return System

FieldType() public method

Create a new mutable FieldType with all of the properties from ref
public FieldType ( FieldType @ref ) : System
@ref FieldType
return System

Freeze() public method

Prevents future changes. Note, it is recommended that this is called once the FieldTypes's properties have been set, to prevent unintentional state changes.
public Freeze ( ) : void
return void

ToString() public final method

Prints a Field for human consumption.
public final ToString ( ) : string
return string