Package | Description |
---|---|
org.apache.lucene.document |
Misc extensions of the Document/Field API.
|
org.apache.lucene.facet.sortedset |
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField . |
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
Modifier and Type | Field and Description |
---|---|
protected FieldType |
Field.type
Field's type
|
static FieldType |
SortedSetDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
NumericDocValuesField.TYPE
Type for numeric DocValues.
|
static FieldType |
StoredField.TYPE
Type for a stored-only field.
|
static FieldType |
BinaryDocValuesField.TYPE
Type for straight bytes DocValues.
|
static FieldType |
SortedDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
SortedBytesDocValuesField.TYPE_FIXED_LEN
Deprecated.
Type for sorted 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 |
StraightBytesDocValuesField.TYPE_FIXED_LEN
Deprecated.
Type for direct bytes DocValues: all with the same length
|
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 |
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 |
DoubleField.TYPE_NOT_STORED
Type for a DoubleField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
TextField.TYPE_NOT_STORED
Indexed, tokenized, not 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 |
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 |
DoubleField.TYPE_STORED
Type for a stored DoubleField:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
TextField.TYPE_STORED
Indexed, tokenized, stored.
|
static FieldType |
SortedBytesDocValuesField.TYPE_VAR_LEN
Deprecated.
Type for sorted bytes DocValues: can have variable lengths
|
static FieldType |
DerefBytesDocValuesField.TYPE_VAR_LEN
Deprecated.
Type for bytes DocValues: can have variable lengths
|
static FieldType |
StraightBytesDocValuesField.TYPE_VAR_LEN
Deprecated.
Type for direct bytes DocValues: can have variable lengths
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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 . |
Modifier and Type | Field and Description |
---|---|
static FieldType |
SortedSetDocValuesFacetField.TYPE
Indexed
FieldType . |
Modifier and Type | Field and Description |
---|---|
static FieldType |
AssociationFacetField.TYPE
Indexed
FieldType . |
Modifier and Type | Method and Description |
---|---|
protected FieldType |
AnalyzingInfixSuggester.getTextFieldType()
Subclass can override this method to change the field type of the text field
e.g.
|
protected FieldType |
BlendedInfixSuggester.getTextFieldType() |
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.