Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.feeds |
Sources for benchmark inputs: documents and queries.
|
org.apache.lucene.bkdtree |
This package contains a BKD spatial tree implementation for indexing lat/lon points and fast shape searching.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
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.index |
Code to maintain and access indices.
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.spatial.bbox |
Bounding Box Spatial Strategy
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected FieldType |
DocMaker.bodyValType |
protected FieldType |
DocMaker.valType |
Constructor and Description |
---|
DocState(boolean reuseFields,
FieldType ft,
FieldType bodyFt) |
Modifier and Type | Field and Description |
---|---|
static FieldType |
BKDPointField.TYPE |
Modifier and Type | Field and Description |
---|---|
protected FieldType |
Field.type
Field's type
|
static FieldType |
SortedSetDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
StoredField.TYPE
Type for a stored-only field.
|
static FieldType |
SortedNumericDocValuesField.TYPE
Type for sorted numeric DocValues.
|
static FieldType |
NumericDocValuesField.TYPE
Type for numeric DocValues.
|
static FieldType |
BinaryDocValuesField.TYPE
Type for straight bytes DocValues.
|
static FieldType |
SortedDocValuesField.TYPE
Type for sorted bytes DocValues
|
static FieldType |
GeoPointField.TYPE_NOT_STORED
Type for an GeoPointField 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 |
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 |
IntField.TYPE_NOT_STORED
Type for an IntField 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 |
LongField.TYPE_NOT_STORED
Type for a LongField that is not stored:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
GeoPointField.TYPE_STORED
Type for a stored GeoPointField:
normalization factors, frequencies, and positions are omitted.
|
static FieldType |
StringField.TYPE_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, stored
|
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 |
IntField.TYPE_STORED
Type for a stored IntField:
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 |
LongField.TYPE_STORED
Type for a stored LongField:
normalization factors, frequencies, and positions are omitted.
|
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 . |
GeoPointField(String name,
double lon,
double lat,
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 |
BaseTermVectorsFormatTestCase.fieldType(BaseTermVectorsFormatTestCase.Options options) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseTermVectorsFormatTestCase.assertEquals(BaseTermVectorsFormatTestCase.RandomTokenStream tk,
FieldType ft,
Terms terms) |
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() |
Modifier and Type | Field and Description |
---|---|
static FieldType |
SuggestField.FIELD_TYPE
Default field type for suggest field
|
Modifier and Type | Field and Description |
---|---|
protected FieldType |
BBoxStrategy.fieldType |
protected FieldType |
BBoxStrategy.xdlFieldType |
Modifier and Type | Method and Description |
---|---|
FieldType |
BBoxStrategy.getFieldType() |
Modifier and Type | Method and Description |
---|---|
void |
BBoxStrategy.setFieldType(FieldType fieldType)
Used to customize the indexing options of the 4 number fields, and to a lesser degree the XDL field too.
|
Modifier and Type | Field and Description |
---|---|
static FieldType |
PrefixTreeStrategy.FIELD_TYPE |
Modifier and Type | Method and Description |
---|---|
static Field |
LuceneTestCase.newField(Random random,
String name,
Object value,
FieldType type) |
static Field |
LuceneTestCase.newField(String name,
String value,
FieldType type) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.