Package | Description |
---|---|
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 |
Code to search 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.spatial3d |
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom . |
org.apache.lucene.util |
Some utility classes.
|
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 |
BigIntegerPoint
An indexed 128-bit
BigInteger field. |
class |
BinaryDocValuesField
Field that stores a per-document
BytesRef value. |
class |
BinaryPoint
An indexed binary field for fast range filters.
|
class |
DoubleDocValuesField
Syntactic sugar for encoding doubles as NumericDocValues
via
Double.doubleToRawLongBits(double) . |
class |
DoublePoint
An indexed
double field for fast range filters. |
class |
DoubleRange
An indexed Double Range field.
|
class |
FeatureField
Field that can be used to store static scoring factors into
documents. |
class |
FloatDocValuesField
Syntactic sugar for encoding floats as NumericDocValues
via
Float.floatToRawIntBits(float) . |
class |
FloatPoint
An indexed
float field for fast range filters. |
class |
FloatRange
An indexed Float Range field.
|
class |
HalfFloatPoint
An indexed
half-float field for fast range filters. |
class |
InetAddressPoint
An indexed 128-bit
InetAddress field. |
class |
InetAddressRange
An indexed InetAddress Range Field
|
class |
IntPoint
An indexed
int field for fast range filters. |
class |
IntRange
An indexed Integer Range field.
|
class |
LatLonBoundingBox
An indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate system
|
class |
LatLonDocValuesField
An per-document location field.
|
class |
LatLonPoint
An indexed location field.
|
class |
LongPoint
An indexed
long field for fast range filters. |
class |
LongRange
An indexed Long Range field.
|
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() 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 | Method and Description |
---|---|
static Field[] |
LatLonShape.createIndexableFields(java.lang.String fieldName,
double lat,
double lon)
create indexable fields for point geometry
|
static Field[] |
LatLonShape.createIndexableFields(java.lang.String fieldName,
Line line)
create indexable fields for line geometry
|
static Field[] |
LatLonShape.createIndexableFields(java.lang.String fieldName,
Polygon polygon)
create indexable fields for polygon geometry
|
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 |
---|---|
long |
IndexWriter.softUpdateDocument(Term term,
java.lang.Iterable<? extends IndexableField> doc,
Field... softDeletes)
Expert:
Updates a document by first updating the document(s)
containing
term with the given doc-values fields
and then adding the new document. |
long |
IndexWriter.softUpdateDocuments(Term term,
java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs,
Field... softDeletes)
Expert:
Atomically updates documents matching the provided
term with the given doc-values fields
and adds a block of documents with sequentially
assigned document IDs, such that an external reader
will see all or none of the documents.
|
long |
IndexWriter.tryUpdateDocValue(IndexReader readerIn,
int docID,
Field... fields)
Expert: attempts to update doc values by document ID, as long as
the provided reader is a near-real-time reader (from
DirectoryReader.open(IndexWriter) ). |
long |
RandomIndexWriter.updateDocValues(Term term,
Field... updates) |
long |
IndexWriter.updateDocValues(Term term,
Field... updates)
Updates documents' DocValues fields to the given values.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Field |
BaseRangeFieldQueryTestCase.newRangeField(BaseRangeFieldQueryTestCase.Range box) |
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,
java.lang.String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<FieldFragList.WeightedFragInfo> |
BaseFragmentsBuilder.discreteMultiValueHighlighting(java.util.List<FieldFragList.WeightedFragInfo> fragInfos,
Field[] fields) |
protected java.lang.String |
BaseFragmentsBuilder.getFragmentSource(java.lang.StringBuilder buffer,
int[] index,
Field[] values,
int startOffset,
int endOffset) |
protected java.lang.String |
BaseFragmentsBuilder.getFragmentSourceMSO(java.lang.StringBuilder buffer,
int[] index,
Field[] values,
int startOffset,
int endOffset,
int[] modifiedStartOffset) |
protected java.lang.String |
BaseFragmentsBuilder.makeFragment(java.lang.StringBuilder buffer,
int[] index,
Field[] values,
FieldFragList.WeightedFragInfo fragInfo,
java.lang.String[] preTags,
java.lang.String[] postTags,
Encoder encoder) |
Modifier and Type | Method and Description |
---|---|
abstract Field[] |
SpatialStrategy.createIndexableFields(org.locationtech.spatial4j.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(org.locationtech.spatial4j.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
CompositeSpatialStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
PrefixTreeStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) |
Field[] |
PrefixTreeStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape,
double distErr)
Turns
SpatialPrefixTree.getTreeCellIterator(Shape, int) into a
TokenStream . |
Field[] |
PrefixTreeStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape,
int detailLevel) |
Modifier and Type | Method and Description |
---|---|
Field[] |
SerializedDVStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) |
Modifier and Type | Method and Description |
---|---|
Field[] |
PointVectorStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Point point) |
Field[] |
PointVectorStrategy.createIndexableFields(org.locationtech.spatial4j.shape.Shape shape) |
Modifier and Type | Class and Description |
---|---|
class |
Geo3DDocValuesField
An per-document 3D location field.
|
class |
Geo3DPoint
Add this to a document to index lat/lon or x/y/z point, indexed as a 3D point.
|
Modifier and Type | Method and Description |
---|---|
static Field |
LuceneTestCase.newField(java.util.Random random,
java.lang.String name,
java.lang.Object value,
FieldType type) |
static Field |
LuceneTestCase.newField(java.lang.String name,
java.lang.String value,
FieldType type) |
static Field |
LuceneTestCase.newStringField(java.util.Random random,
java.lang.String name,
BytesRef value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(java.util.Random random,
java.lang.String name,
java.lang.String value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(java.lang.String name,
BytesRef value,
Field.Store stored) |
static Field |
LuceneTestCase.newStringField(java.lang.String name,
java.lang.String value,
Field.Store stored) |
static Field |
LuceneTestCase.newTextField(java.util.Random random,
java.lang.String name,
java.lang.String value,
Field.Store stored) |
static Field |
LuceneTestCase.newTextField(java.lang.String name,
java.lang.String value,
Field.Store stored) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.