Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Field and Description |
---|---|
protected FieldType |
Field.type
Field's type
|
static FieldType |
StoredField.TYPE
Type for a stored-only field.
|
static FieldType |
NumericDocValuesField.TYPE
Type for numeric DocValues.
|
static FieldType |
SortedSetDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
SortedNumericDocValuesField.TYPE
Type for sorted numeric DocValues.
|
static FieldType |
BinaryDocValuesField.TYPE
Type for straight bytes DocValues.
|
static FieldType |
SortedDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
TextField.TYPE_NOT_STORED
Indexed, tokenized, not stored.
|
static FieldType |
LegacyIntField.TYPE_NOT_STORED
Deprecated.
Type for an LegacyIntField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
StringField.TYPE_NOT_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, not stored.
|
static FieldType |
LegacyDoubleField.TYPE_NOT_STORED
Deprecated.
Type for a LegacyDoubleField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
LegacyLongField.TYPE_NOT_STORED
Deprecated.
Type for a LegacyLongField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
LegacyFloatField.TYPE_NOT_STORED
Deprecated.
Type for a LegacyFloatField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
TextField.TYPE_STORED
Indexed, tokenized, stored.
|
static FieldType |
LegacyIntField.TYPE_STORED
Deprecated.
Type for a stored LegacyIntField:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
StringField.TYPE_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, stored
|
static FieldType |
LegacyDoubleField.TYPE_STORED
Deprecated.
Type for a stored LegacyDoubleField:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
LegacyLongField.TYPE_STORED
Deprecated.
Type for a stored LegacyLongField:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
LegacyFloatField.TYPE_STORED
Deprecated.
Type for a stored LegacyFloatField:
normalization factors, frequencies, and positions are omitted.
|
Modifier and Type | Method and Description |
---|---|
FieldType |
Field.fieldType()
Returns the
FieldType for this field. |
Constructor and Description |
---|
BinaryPoint(String name,
byte[] packedPoint,
FieldType type)
Expert API
|
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 |
LegacyDoubleField(String name,
double value,
FieldType type)
Deprecated.
Expert: allows you to customize the
FieldType . |
LegacyFloatField(String name,
float value,
FieldType type)
Deprecated.
Expert: allows you to customize the
FieldType . |
LegacyIntField(String name,
int value,
FieldType type)
Deprecated.
Expert: allows you to customize the
FieldType . |
LegacyLongField(String name,
long value,
FieldType type)
Deprecated.
Expert: allows you to customize the
FieldType . |
StoredField(String name,
BytesRef bytes,
FieldType type)
Expert: allows you to customize the
FieldType . |
StoredField(String name,
FieldType type)
Expert: allows you to customize the
FieldType . |
StoredField(String name,
String value,
FieldType type)
Expert: allows you to customize the
FieldType . |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.