C# Class Lucene.Net.Documents.FieldType

Describes the properties of a field.
Inheritance: IndexableFieldType
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CheckIfFrozen ( ) : void

Method Details

FieldType() public méthode

Create a new FieldType with default properties.
public FieldType ( ) : System
Résultat System

FieldType() public méthode

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

Freeze() public méthode

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
Résultat void

ToString() public final méthode

Prints a Field for human consumption.
public final ToString ( ) : string
Résultat string