|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FieldType | |
---|---|
org.apache.lucene.document | The logical representation of a Document for indexing and searching. |
Uses of FieldType in org.apache.lucene.document |
---|
Fields in org.apache.lucene.document declared as FieldType | |
---|---|
protected FieldType |
Field.type
Field's type |
static FieldType |
SortedDocValuesField.TYPE
Type for sorted bytes DocValues |
static FieldType |
BinaryDocValuesField.TYPE
Type for straight bytes DocValues. |
static FieldType |
StoredField.TYPE
Type for a stored-only field. |
static FieldType |
SortedSetDocValuesField.TYPE
Type for sorted bytes DocValues |
static FieldType |
NumericDocValuesField.TYPE
Type for numeric DocValues. |
static FieldType |
SortedBytesDocValuesField.TYPE_FIXED_LEN
Deprecated. Type for sorted bytes DocValues: all with the same length |
static FieldType |
StraightBytesDocValuesField.TYPE_FIXED_LEN
Deprecated. Type for direct bytes DocValues: all with the same length |
static FieldType |
DerefBytesDocValuesField.TYPE_FIXED_LEN
Deprecated. Type for bytes DocValues: all with the same length |
static FieldType |
TextField.TYPE_NOT_STORED
Indexed, tokenized, not stored. |
static FieldType |
StringField.TYPE_NOT_STORED
Indexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored. |
static FieldType |
LongField.TYPE_NOT_STORED
Type for a LongField that is not stored: normalization factors, frequencies, and positions are omitted. |
static FieldType |
DoubleField.TYPE_NOT_STORED
Type for a DoubleField that is not stored: normalization factors, frequencies, and positions are omitted. |
static FieldType |
FloatField.TYPE_NOT_STORED
Type for a FloatField that is not stored: normalization factors, frequencies, and positions are omitted. |
static FieldType |
IntField.TYPE_NOT_STORED
Type for an IntField that is not stored: normalization factors, frequencies, and positions are omitted. |
static FieldType |
TextField.TYPE_STORED
Indexed, tokenized, stored. |
static FieldType |
StringField.TYPE_STORED
Indexed, not tokenized, omits norms, indexes DOCS_ONLY, stored |
static FieldType |
LongField.TYPE_STORED
Type for a stored LongField: normalization factors, frequencies, and positions are omitted. |
static FieldType |
DoubleField.TYPE_STORED
Type for a stored DoubleField: normalization factors, frequencies, and positions are omitted. |
static FieldType |
FloatField.TYPE_STORED
Type for a stored FloatField: normalization factors, frequencies, and positions are omitted. |
static FieldType |
IntField.TYPE_STORED
Type for a stored IntField: normalization factors, frequencies, and positions are omitted. |
static FieldType |
SortedBytesDocValuesField.TYPE_VAR_LEN
Deprecated. Type for sorted bytes DocValues: can have variable lengths |
static FieldType |
StraightBytesDocValuesField.TYPE_VAR_LEN
Deprecated. Type for direct bytes DocValues: can have variable lengths |
static FieldType |
DerefBytesDocValuesField.TYPE_VAR_LEN
Deprecated. Type for bytes DocValues: can have variable lengths |
Methods in org.apache.lucene.document that return FieldType | |
---|---|
FieldType |
Field.fieldType()
Returns the FieldType for this field. |
static FieldType |
Field.translateFieldType(Field.Store store,
Field.Index index,
Field.TermVector termVector)
Deprecated. This is here only to ease transition from the pre-4.0 APIs. |
Constructors in org.apache.lucene.document with parameters of type FieldType | |
---|---|
DoubleField(String name,
double value,
FieldType type)
Expert: allows you to customize the FieldType . |
|
Field(String name,
byte[] value,
FieldType type)
Create field with binary value. |
|
Field(String name,
byte[] value,
int offset,
int length,
FieldType type)
Create field with binary value. |
|
Field(String name,
BytesRef bytes,
FieldType type)
Create field with binary value. |
|
Field(String name,
FieldType type)
Expert: creates a field with no initial value. |
|
Field(String name,
Reader reader,
FieldType type)
Create field with Reader value. |
|
Field(String name,
String value,
FieldType type)
Create field with String value. |
|
Field(String name,
TokenStream tokenStream,
FieldType type)
Create field with TokenStream value. |
|
FieldType(FieldType ref)
Create a new mutable FieldType with all of the properties from ref |
|
FloatField(String name,
float value,
FieldType type)
Expert: allows you to customize the FieldType . |
|
IntField(String name,
int value,
FieldType type)
Expert: allows you to customize the FieldType . |
|
LongField(String name,
long value,
FieldType type)
Expert: allows you to customize the FieldType . |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |