Method TranslateFieldType
TranslateFieldType(Field.Store, Field.Index, Field.TermVector)
Translates the pre-4.0 enums for specifying how a field should be indexed into the 4.0 FieldType approach.
Declaration
public static FieldType TranslateFieldType(Field.Store store, Field.Index index, Field.TermVector termVector)
Parameters
Type | Name | Description |
---|---|---|
Field.Store | store | |
Field.Index | index | |
Field.TermVector | termVector |
Returns
Type | Description |
---|---|
FieldType |