Package | Description |
---|---|
org.apache.lucene.bkdtree |
This package contains a BKD spatial tree implementation for indexing lat/lon points and fast shape searching.
|
org.apache.lucene.collation |
Unicode collation support.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.facet |
Faceted search.
|
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.document |
Support for document suggestion
|
org.apache.lucene.search.vectorhighlight |
Another highlighter implementation based on term vectors.
|
org.apache.lucene.spatial |
Lucene spatial search
|
org.apache.lucene.spatial.bbox |
Bounding Box Spatial Strategy
|
org.apache.lucene.spatial.composite |
Composite strategies.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.spatial.serialized |
Strategies that serialize the shape (non-indexed).
|
org.apache.lucene.spatial.vector |
Spatial strategy that uses two fields.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
BKDPointField
Add this to a document to index lat/lon point, but be sure to use
BKDTreeDocValuesFormat for the field. |
Modifier and Type | Class and Description |
---|---|
class |
CollationDocValuesField
Indexes collation keys as a single-valued
SortedDocValuesField . |
class |
ICUCollationDocValuesField
Indexes collation keys as a single-valued
SortedDocValuesField . |
Modifier and Type | Class and Description |
---|---|
class |
BinaryDocValuesField
Field that stores a per-document
BytesRef value. |
class |
DoubleDocValuesField
Syntactic sugar for encoding doubles as NumericDocValues
via
Double.doubleToRawLongBits(double) . |
class |
DoubleField
Field that indexes
double values
for efficient range filtering and sorting. |
class |
FloatDocValuesField
Syntactic sugar for encoding floats as NumericDocValues
via
Float.floatToRawIntBits(float) . |
class |
FloatField
Field that indexes
float values
for efficient range filtering and sorting. |
class |
GeoPointField
Field that indexes
latitude longitude decimal-degree values
for efficient encoding, sorting, and querying. |
class |
IntField
Field that indexes
int values
for efficient range filtering and sorting. |
class |
LongField
Field that indexes
long values
for efficient range filtering and sorting. |
class |
NumericDocValuesField
Field that stores a per-document
long value for scoring,
sorting or value retrieval. |
class |
SortedDocValuesField
Field that stores
a per-document
BytesRef value, indexed for
sorting. |
class |
SortedNumericDocValuesField
Field that stores a per-document
long values for scoring,
sorting or value retrieval. |
class |
SortedSetDocValuesField
Field that stores
a set of per-document
BytesRef values, indexed for
faceting,grouping,joining. |
class |
StoredField
A field whose value is stored so that
IndexSearcher.doc(int) and IndexReader.document(int, org.apache.lucene.index.StoredFieldVisitor) will
return the field and its value. |
class |
StringField
A field that is indexed but not tokenized: the entire
String value is indexed as a single token.
|
class |
TextField
A field that is indexed and tokenized, without term
vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
FacetField
Add an instance of this to your
Document for every facet label. |
Modifier and Type | Class and Description |
---|---|
class |
SortedSetDocValuesFacetField
Add an instance of this to your Document for every facet
label to be indexed via SortedSetDocValues.
|
Modifier and Type | Class and Description |
---|---|
class |
AssociationFacetField
Add an instance of this to your
Document to add
a facet label associated with an arbitrary byte[]. |
class |
FloatAssociationFacetField
Add an instance of this to your
Document to add
a facet label associated with a float. |
class |
IntAssociationFacetField
Add an instance of this to your
Document to add
a facet label associated with an int. |
Modifier and Type | Method and Description |
---|---|
void |
RandomIndexWriter.updateDocValues(Term term,
Field... updates) |
void |
IndexWriter.updateDocValues(Term term,
Field... updates)
Updates documents' DocValues fields to the given values.
|
Modifier and Type | Class and Description |
---|---|
class |
ContextSuggestField
SuggestField which additionally takes in a set of
contexts. |
class |
SuggestField
Field that indexes a string value and a weight as a weighted completion
against a named suggester.
|
Modifier and Type | Method and Description |
---|---|
protected Field[] |
BaseFragmentsBuilder.getFields(IndexReader reader,
int docId,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected List<FieldFragList.WeightedFragInfo> |
BaseFragmentsBuilder.discreteMultiValueHighlighting(List<FieldFragList.WeightedFragInfo> fragInfos,
Field[] fields) |
protected String |
BaseFragmentsBuilder.getFragmentSource(StringBuilder buffer,
int[] index,
Field[] values,
int startOffset,
int endOffset) |
protected String |
BaseFragmentsBuilder.getFragmentSourceMSO(StringBuilder buffer,
int[] index,
Field[] values,
int startOffset,
int endOffset,
int[] modifiedStartOffset) |
protected String |
BaseFragmentsBuilder.makeFragment(StringBuilder buffer,
int[] index,
Field[] values,
FieldFragList.WeightedFragInfo fragInfo,
String[] preTags,
String[] postTags,
Encoder encoder) |
Modifier and Type | Method and Description |
---|---|
abstract Field[] |
SpatialStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape)
Returns the IndexableField(s) from the
shape that are to be
added to the Document . |
Modifier and Type | Method and Description |
---|---|
Field[] |
BBoxStrategy.createIndexableFields(com.spatial4j.core.shape.Rectangle bbox) |
Field[] |
BBoxStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
CompositeSpatialStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
PrefixTreeStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape) |
Field[] |
PrefixTreeStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape,
double distErr)
Turns
SpatialPrefixTree.getTreeCellIterator(Shape, int) into a
TokenStream . |
Field[] |
PrefixTreeStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape,
int detailLevel) |
Modifier and Type | Method and Description |
---|---|
Field[] |
SerializedDVStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
PointVectorStrategy.createIndexableFields(com.spatial4j.core.shape.Point point) |
Field[] |
PointVectorStrategy.createIndexableFields(com.spatial4j.core.shape.Shape shape) |
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) |
static Field |
LuceneTestCase.newStringField(Random random,
String name,
BytesRef value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(Random random,
String name,
String value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(String name,
BytesRef value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(String name,
String value,
Field.Store stored) |
static Field |
LuceneTestCase.newTextField(Random random,
String name,
String value,
Field.Store stored) |
static Field |
LuceneTestCase.newTextField(String name,
String value,
Field.Store stored) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.