Package | Description |
---|---|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.util.bkd |
Block KD-tree, implementing the generic spatial data structure described in
this paper.
|
Modifier and Type | Field and Description |
---|---|
(package private) PointValues.IntersectVisitor |
SimpleTextBKDReader.IntersectState.visitor |
Modifier and Type | Method and Description |
---|---|
long |
SimpleTextBKDReader.estimatePointCount(PointValues.IntersectVisitor visitor) |
SimpleTextBKDReader.IntersectState |
SimpleTextBKDReader.getIntersectState(PointValues.IntersectVisitor visitor)
Create a new
SimpleTextBKDReader.IntersectState |
void |
SimpleTextBKDReader.intersect(PointValues.IntersectVisitor visitor) |
private void |
SimpleTextBKDReader.visitCompressedDocValues(int[] commonPrefixLengths,
byte[] scratchPackedValue,
IndexInput in,
int[] docIDs,
int count,
PointValues.IntersectVisitor visitor,
int compressedDim) |
(package private) void |
SimpleTextBKDReader.visitDocIDs(IndexInput in,
long blockFP,
PointValues.IntersectVisitor visitor) |
(package private) void |
SimpleTextBKDReader.visitDocValues(int[] commonPrefixLengths,
byte[] scratchPackedValue,
IndexInput in,
int[] docIDs,
int count,
PointValues.IntersectVisitor visitor) |
Constructor and Description |
---|
IntersectState(IndexInput in,
int numDims,
int packedBytesLength,
int maxPointsInLeafNode,
PointValues.IntersectVisitor visitor) |
Modifier and Type | Class and Description |
---|---|
private static class |
FloatPointNearestNeighbor.NearestVisitor |
Modifier and Type | Method and Description |
---|---|
private static PointValues.IntersectVisitor |
ShapeQuery.getContainsDenseVisitor(ShapeQuery query,
FixedBitSet result,
FixedBitSet excluded,
long[] cost)
create a visitor that adds documents that match the query using a dense bitset; used with CONTAINS
|
private static PointValues.IntersectVisitor |
ShapeQuery.getDenseVisitor(ShapeQuery query,
FixedBitSet result,
FixedBitSet excluded,
long[] cost)
create a visitor that adds documents that match the query using a dense bitset; used with WITHIN & DISJOINT
|
private static PointValues.IntersectVisitor |
ShapeQuery.getEstimateVisitor(ShapeQuery query)
create a visitor for calculating point count estimates for the provided relation
|
private PointValues.IntersectVisitor |
LatLonPointInPolygonQuery.getIntersectVisitor(DocIdSetBuilder result,
Component2D tree,
GeoEncodingUtils.PolygonPredicate polygonPredicate,
byte[] minLat,
byte[] maxLat,
byte[] minLon,
byte[] maxLon) |
private static PointValues.IntersectVisitor |
ShapeQuery.getInverseDenseVisitor(ShapeQuery query,
FixedBitSet result,
long[] cost)
create a visitor that clears documents that do not match the polygon query using a dense bitset; used with WITHIN & DISJOINT
|
private static PointValues.IntersectVisitor |
ShapeQuery.getShallowInverseDenseVisitor(ShapeQuery query,
FixedBitSet result)
create a visitor that clears documents that do not match the polygon query using a dense bitset; used with WITHIN & DISJOINT.
|
private static PointValues.IntersectVisitor |
ShapeQuery.getSparseVisitor(ShapeQuery query,
DocIdSetBuilder result)
create a visitor that adds documents that match the query using a sparse bitset.
|
Modifier and Type | Class and Description |
---|---|
private static class |
CheckIndex.ConstantRelationIntersectVisitor |
static class |
CheckIndex.VerifyPointsVisitor
Walks the entire N-dimensional points space, verifying that all points fall within the last cell's boundaries.
|
private static class |
ExitableDirectoryReader.ExitableIntersectVisitor |
Modifier and Type | Field and Description |
---|---|
private PointValues.IntersectVisitor |
ExitableDirectoryReader.ExitableIntersectVisitor.in |
Modifier and Type | Method and Description |
---|---|
long |
PointValues.estimateDocCount(PointValues.IntersectVisitor visitor)
Estimate the number of documents that would be matched by
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
with the given PointValues.IntersectVisitor . |
long |
ExitableDirectoryReader.ExitablePointValues.estimatePointCount(PointValues.IntersectVisitor visitor) |
abstract long |
PointValues.estimatePointCount(PointValues.IntersectVisitor visitor)
Estimate the number of points that would be visited by
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
with the given PointValues.IntersectVisitor . |
long |
PointValuesWriter.MutableSortingPointValues.estimatePointCount(PointValues.IntersectVisitor visitor) |
long |
SortingLeafReader.SortingPointValues.estimatePointCount(PointValues.IntersectVisitor visitor) |
void |
ExitableDirectoryReader.ExitablePointValues.intersect(PointValues.IntersectVisitor visitor) |
abstract void |
PointValues.intersect(PointValues.IntersectVisitor visitor)
Finds all documents and points matching the provided visitor.
|
void |
PointValuesWriter.MutableSortingPointValues.intersect(PointValues.IntersectVisitor visitor) |
void |
SortingLeafReader.SortingPointValues.intersect(PointValues.IntersectVisitor visitor) |
Constructor and Description |
---|
ExitableIntersectVisitor(PointValues.IntersectVisitor in,
QueryTimeout queryTimeout) |
Modifier and Type | Method and Description |
---|---|
long |
MemoryIndex.MemoryIndexReader.MemoryIndexPointValues.estimatePointCount(PointValues.IntersectVisitor visitor) |
void |
MemoryIndex.MemoryIndexReader.MemoryIndexPointValues.intersect(PointValues.IntersectVisitor visitor) |
Modifier and Type | Class and Description |
---|---|
private static class |
NearestNeighbor.NearestVisitor |
private class |
PointInSetQuery.MergePointVisitor
Essentially does a merge sort, only collecting hits when the indexed point and query point are the same.
|
private class |
PointInSetQuery.SinglePointVisitor
IntersectVisitor that queries against a highly degenerate shape: a single point.
|
Modifier and Type | Class and Description |
---|---|
private class |
PointInSetIncludingScoreQuery.MergePointVisitor |
Modifier and Type | Field and Description |
---|---|
(package private) PointValues.IntersectVisitor |
BKDReader.IntersectState.visitor |
Modifier and Type | Method and Description |
---|---|
long |
BKDReader.estimatePointCount(PointValues.IntersectVisitor visitor) |
BKDReader.IntersectState |
BKDReader.getIntersectState(PointValues.IntersectVisitor visitor)
Create a new
BKDReader.IntersectState |
void |
BKDReader.intersect(PointValues.IntersectVisitor visitor) |
private static void |
DocIdsWriter.readDeltaVInts(IndexInput in,
int count,
PointValues.IntersectVisitor visitor) |
(package private) static void |
DocIdsWriter.readInts(IndexInput in,
int count,
PointValues.IntersectVisitor visitor)
Read
count integers and feed the result directly to visit(int) . |
private static void |
DocIdsWriter.readInts24(IndexInput in,
int count,
PointValues.IntersectVisitor visitor) |
private static void |
DocIdsWriter.readInts32(IndexInput in,
int count,
PointValues.IntersectVisitor visitor) |
private void |
BKDReader.visitCompressedDocValues(int[] commonPrefixLengths,
byte[] scratchPackedValue,
IndexInput in,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor,
int compressedDim) |
private void |
BKDReader.visitDocIDs(IndexInput in,
long blockFP,
PointValues.IntersectVisitor visitor) |
(package private) void |
BKDReader.visitDocValues(int[] commonPrefixLengths,
byte[] scratchDataPackedValue,
byte[] scratchMinIndexPackedValue,
byte[] scratchMaxIndexPackedValue,
IndexInput in,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor) |
(package private) void |
BKDReader.visitDocValuesNoCardinality(int[] commonPrefixLengths,
byte[] scratchDataPackedValue,
byte[] scratchMinIndexPackedValue,
byte[] scratchMaxIndexPackedValue,
IndexInput in,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor) |
(package private) void |
BKDReader.visitDocValuesWithCardinality(int[] commonPrefixLengths,
byte[] scratchDataPackedValue,
byte[] scratchMinIndexPackedValue,
byte[] scratchMaxIndexPackedValue,
IndexInput in,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor) |
private void |
BKDReader.visitSparseRawDocValues(int[] commonPrefixLengths,
byte[] scratchPackedValue,
IndexInput in,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor) |
private void |
BKDReader.visitUniqueRawDocValues(byte[] scratchPackedValue,
BKDReader.BKDReaderDocIDSetIterator scratchIterator,
int count,
PointValues.IntersectVisitor visitor) |
Constructor and Description |
---|
IntersectState(IndexInput in,
int numDims,
int packedBytesLength,
int packedIndexBytesLength,
int maxPointsInLeafNode,
PointValues.IntersectVisitor visitor,
BKDReader.IndexTree indexVisitor) |