A B C D E F G H I J L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPrefixTreeQuery - Class in org.apache.lucene.spatial.prefix
-
Base class for Lucene Queries on SpatialPrefixTree fields.
- AbstractPrefixTreeQuery(Shape, String, SpatialPrefixTree, int) - Constructor for class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- AbstractPrefixTreeQuery.BaseTermsEnumTraverser - Class in org.apache.lucene.spatial.prefix
-
Holds transient state and docid collecting utility methods as part of traversing a
TermsEnum
for aLeafReaderContext
. - AbstractVisitingPrefixTreeQuery - Class in org.apache.lucene.spatial.prefix
-
Traverses a
SpatialPrefixTree
indexed field, using the template and visitor design patterns for subclasses to guide the traversal and collect matching documents. - AbstractVisitingPrefixTreeQuery(Shape, String, SpatialPrefixTree, int, int) - Constructor for class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery
- AbstractVisitingPrefixTreeQuery.VisitorTemplate - Class in org.apache.lucene.spatial.prefix
-
An abstract class designed to make it easy to implement predicates or other operations on a
SpatialPrefixTree
indexed field. - AbstractVisitingPrefixTreeQuery.VNode - Class in org.apache.lucene.spatial.prefix
-
A visitor node/cell found via the query shape for
AbstractVisitingPrefixTreeQuery.VisitorTemplate
. - add(int, T) - Method in class org.apache.lucene.spatial.util.ShapeFieldCache
- advanceExact(int) - Method in class org.apache.lucene.spatial.ShapeValues
-
Advance the iterator to the given document
- area(Circle) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- area(Rectangle) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- args - Variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- arity - Variable in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
B
- b_len - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- b_off - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- BaseTermsEnumTraverser(LeafReaderContext) - Constructor for class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- battenberg(double, double, double, double) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
-
Returns a Z-Order quadrant [0-3].
- BBoxIntersects - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Bounding box of the *indexed* shape, then
SpatialOperation.Intersects
. - BBoxOverlapRatioValueSource - Class in org.apache.lucene.spatial.bbox
-
The algorithm is implemented as envelope on envelope (rect on rect) overlays rather than complex polygon on complex polygon overlays.
- BBoxOverlapRatioValueSource(ShapeValuesSource, boolean, Rectangle, double, double) - Constructor for class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
- BBoxOverlapRatioValueSource(ShapeValuesSource, Rectangle) - Constructor for class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
-
Construct with 75% weighting towards target (roughly GeoPortal's default), geo degrees assumed, no minimum side length.
- BBoxSimilarityValueSource - Class in org.apache.lucene.spatial.bbox
-
A base class for calculating a spatial relevance rank per document from a provided
ShapeValuesSource
returning aRectangle
per-document. - BBoxSimilarityValueSource(ShapeValuesSource) - Constructor for class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- BBoxStrategy - Class in org.apache.lucene.spatial.bbox
-
A SpatialStrategy for indexing and searching Rectangles by storing its coordinates in numeric fields.
- BBoxStrategy(SpatialContext, String, FieldType) - Constructor for class org.apache.lucene.spatial.bbox.BBoxStrategy
-
Creates this strategy.
- BBoxWithin - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Bounding box of the *indexed* shape, then
SpatialOperation.IsWithin
. - boundingBox - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- bufferShape(Shape, double) - Method in class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
-
Returns a new shape that is larger than shape by at distErr.
- buildNotRobustly(double, double, int, List<Cell>, long, Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- bytes - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- bytesRef - Variable in class org.apache.lucene.spatial.prefix.CellToBytesRefIterator
- BytesRefIteratorTokenStream - Class in org.apache.lucene.spatial.prefix
-
A TokenStream used internally by
PrefixTreeStrategy
. - BytesRefIteratorTokenStream() - Constructor for class org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
C
- CachingDoubleValueSource - Class in org.apache.lucene.spatial.util
-
Caches the doubleVal of another value source in a HashMap so that it is computed only once.
- CachingDoubleValueSource(DoubleValuesSource) - Constructor for class org.apache.lucene.spatial.util.CachingDoubleValueSource
- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- calcDistanceFromErrPct(Shape, double, SpatialContext) - Static method in class org.apache.lucene.spatial.query.SpatialArgs
-
Computes the distance given a shape and the
distErrPct
. - calcFacets(IndexReaderContext, Bits, NumberRangePrefixTree.UnitNRShape, NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
-
Calculates facets between
start
andend
to a detail level one greater than that provided by the arguments. - calcFacets(IndexReaderContext, Bits, Shape, int) - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
-
Calculates facets (aggregated counts) given a range shape (start-end span) and a level, which specifies the detail.
- calcFacets(IndexReaderContext, Bits, Shape, int, int) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
Computes spatial facets in two dimensions as a grid of numbers.
- calcFacets(PrefixTreeStrategy, IndexReaderContext, Bits, Shape, int, int) - Static method in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter
-
Calculates spatial 2D facets (aggregated counts) in a grid, sometimes called a heatmap.
- Cell - Interface in org.apache.lucene.spatial.prefix.tree
-
Represents a grid cell.
- CellCanPrune - Interface in org.apache.lucene.spatial.prefix.tree
-
Grid cells that share nothing with other cells when calling
Cell.getNextLevelCells(Shape)
might implement this interface. - cellIter - Variable in class org.apache.lucene.spatial.prefix.CellToBytesRefIterator
- CellIterator - Class in org.apache.lucene.spatial.prefix.tree
-
An Iterator of SpatialPrefixTree Cells.
- CellIterator() - Constructor for class org.apache.lucene.spatial.prefix.tree.CellIterator
- CellToBytesRefIterator - Class in org.apache.lucene.spatial.prefix
- CellToBytesRefIterator() - Constructor for class org.apache.lucene.spatial.prefix.CellToBytesRefIterator
- center - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- checkBattenbergNotRobustly(byte, double, double, int, List<Cell>, long, Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- checkBattenbergNotRobustly(char, double, double, int, List<Cell>, BytesRef, Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- childCounts - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets.FacetParentVal
-
The detail level counts.
- childCountsLen - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets.FacetParentVal
- circle(double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- circle(Point, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- clearFieldsAfter(Calendar, int) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method: Calls
Calendar.clear(int)
for every field afterfield
. - clone() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- clone() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
-
A deep clone.
- clone() - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape
-
Deep clone
- collectDocs(BitSet) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- collectDocs(DocIdSetBuilder) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- columns - Variable in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- compare(byte[], int, int, byte[], int, int) - Static method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
-
Copied from
BytesRef.compareTo(BytesRef)
. - comparePrefix(NumberRangePrefixTree.UnitNRShape, NumberRangePrefixTree.UnitNRShape) - Static method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Compares a to b, returning less than 0, 0, or greater than 0, if a is less than, equal to, or greater than b, respectively, up to their common prefix (i.e.
- compareTo(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- compareToNoLeaf(Cell) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Equivalent to
this.getTokenBytesNoLeaf(null).compareTo(fromCell.getTokenBytesNoLeaf(null))
. - compareToNoLeaf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- compareToNoLeaf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- compareToNoLeaf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- CompositeSpatialStrategy - Class in org.apache.lucene.spatial.composite
-
A composite
SpatialStrategy
based onRecursivePrefixTreeStrategy
(RPT) andSerializedDVStrategy
(SDV). - CompositeSpatialStrategy(String, RecursivePrefixTreeStrategy, SerializedDVStrategy) - Constructor for class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- CompositeVerifyQuery - Class in org.apache.lucene.spatial.composite
-
A Query that considers an "indexQuery" to have approximate results, and a follow-on ShapeValuesSource is called to verify each hit from
TwoPhaseIterator.matches()
. - CompositeVerifyQuery(Query, ShapeValuesPredicate) - Constructor for class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- compute(PrefixTreeStrategy, IndexReaderContext, Bits, Shape, int, PrefixTreeFacetCounter.FacetVisitor) - Static method in class org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter
-
Computes facets using a callback/visitor style design, allowing flexibility for the caller to determine what to do with each underlying count.
- compute(PrefixTreeStrategy, LeafReaderContext, Bits, Shape, int, PrefixTreeFacetCounter.FacetVisitor) - Static method in class org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter
-
Lower-level per-leaf segment method.
- concat(byte) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- concat(BytesRef, byte) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- Contains - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Meets the "Covers" OGC definition (boundary-neutral).
- ContainsPrefixTreeQuery - Class in org.apache.lucene.spatial.prefix
-
Finds docs where its indexed shape
CONTAINS
the query shape. - ContainsPrefixTreeQuery(Shape, String, SpatialPrefixTree, int, boolean) - Constructor for class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
- context - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- counts - Variable in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- createCellIteratorToIndex(Shape, int, Iterator<Cell>) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- createCellIteratorToIndex(Shape, int, Iterator<Cell>) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- createIndexableFields(Point) - Method in class org.apache.lucene.spatial.vector.PointVectorStrategy
- createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
- createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.serialized.SerializedDVStrategy
- createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.SpatialStrategy
-
Returns the IndexableField(s) from the
shape
that are to be added to theDocument
. - createIndexableFields(Shape) - Method in class org.apache.lucene.spatial.vector.PointVectorStrategy
- createIndexableFields(Shape, double) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
Turns
SpatialPrefixTree.getTreeCellIterator(Shape, int)
into aTokenStream
. - createIndexableFields(Shape, int) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- ctx - Variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- ctx - Variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- ctx - Variable in class org.apache.lucene.spatial.SpatialStrategy
D
- DateRangePrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
A PrefixTree for date ranges in which the levels of the tree occur at natural periods of time (e.g.
- DateRangePrefixTree(Calendar) - Constructor for class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Constructs with the specified calendar used as a template to be cloned whenever a new Calendar needs to be created.
- DEFAULT_CAL - Static variable in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
The Java platform default
Calendar
with UTC & ROOT Locale. - DEFAULT_DISTERRPCT - Static variable in class org.apache.lucene.spatial.query.SpatialArgs
- DEFAULT_FIELDTYPE - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
-
pointValues, docValues, and nothing else.
- DEFAULT_FIELDTYPE - Static variable in class org.apache.lucene.spatial.vector.PointVectorStrategy
-
pointValues, docValues, and nothing else.
- DEFAULT_MAX_LEVELS - Static variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- defaultFieldValuesArrayLen - Variable in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- defaultLength - Variable in class org.apache.lucene.spatial.util.ShapeFieldCache
- defaultSize - Variable in class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
- detailLevel - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- detailLevel - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets
-
The bottom-most detail-level counted, as requested.
- DIST_ERR - Static variable in class org.apache.lucene.spatial.query.SpatialArgsParser
- DIST_ERR_PCT - Static variable in class org.apache.lucene.spatial.query.SpatialArgsParser
- distance(Point, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- distance(Point, Point) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- DistanceToShapeValueSource - Class in org.apache.lucene.spatial.util
-
The distance from a provided Point to a Point retrieved from an ShapeValuesSource.
- DistanceToShapeValueSource(ShapeValuesSource, Point, double, SpatialContext) - Constructor for class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- DistanceValueSource - Class in org.apache.lucene.spatial.vector
-
A DoubleValuesSource that returns the distance for a
PointVectorStrategy
. - DistanceValueSource(PointVectorStrategy, Point, double) - Constructor for class org.apache.lucene.spatial.vector.DistanceValueSource
-
Constructor.
- distErrPct - Variable in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
E
- equals(Object) - Method in class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- equals(Object) - Method in class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- equals(Object) - Method in class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
- equals(Object) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- equals(Object) - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- equals(Object) - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- equals(Object) - Method in class org.apache.lucene.spatial.util.ShapeValuesPredicate
- equals(Object) - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
- evaluate(Shape, Shape) - Method in class org.apache.lucene.spatial.query.SpatialOperation
-
Returns whether the relationship between indexedShape and queryShape is satisfied by this operation.
- explain(LeafReaderContext, int, Explanation) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- explain(LeafReaderContext, int, Explanation) - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- explain(LeafReaderContext, int, Explanation) - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
F
- FacetParentVal() - Constructor for class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets.FacetParentVal
- Facets(int) - Constructor for class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets
- FacetVisitor() - Constructor for class org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.FacetVisitor
- Factory() - Constructor for class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree.Factory
- Factory() - Constructor for class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.Factory
- Factory() - Constructor for class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.Factory
- Factory() - Constructor for class org.apache.lucene.spatial.prefix.tree.S2PrefixTree.Factory
- FIELD_TYPE - Static variable in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- fieldName - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- findSubCellsToVisit(Cell) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Called when doing a divide and conquer to find the next intersecting cells of the query shape that are beneath
cell
. - finish() - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Called last to return the result.
G
- Geo3dBinaryCodec - Class in org.apache.lucene.spatial.spatial4j
-
Geo3d implementation of
BinaryCodec
- Geo3dBinaryCodec(SpatialContext, SpatialContextFactory) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- Geo3dCircleShape - Class in org.apache.lucene.spatial.spatial4j
-
Specialization of a
Geo3dShape
which represents aCircle
. - Geo3dCircleShape(GeoCircle, SpatialContext) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dCircleShape
- Geo3dDistanceCalculator - Class in org.apache.lucene.spatial.spatial4j
-
Geo3d implementation of
DistanceCalculator
- Geo3dDistanceCalculator(PlanetModel) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- Geo3dPointShape - Class in org.apache.lucene.spatial.spatial4j
-
Specialization of a
Geo3dShape
which represents aPoint
. - Geo3dPointShape(GeoPointShape, SpatialContext) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- Geo3dRectangleShape - Class in org.apache.lucene.spatial.spatial4j
-
Specialization of a
Geo3dShape
which represents aRectangle
. - Geo3dRectangleShape(GeoBBox, SpatialContext) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- Geo3dRectangleShape(GeoBBox, SpatialContext, double, double, double, double) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- Geo3dShape<T extends GeoAreaShape> - Class in org.apache.lucene.spatial.spatial4j
-
A Spatial4j Shape wrapping a
GeoAreaShape
("Geo3D") -- a 3D planar geometry based Spatial4j Shape implementation. - Geo3dShape(T, SpatialContext) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dShape
- Geo3dShapeFactory - Class in org.apache.lucene.spatial.spatial4j
-
Geo3d implementation of
S2ShapeFactory
- Geo3dShapeFactory(SpatialContext, SpatialContextFactory) - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- Geo3dSpatialContextFactory - Class in org.apache.lucene.spatial.spatial4j
-
Geo3d implementation of
SpatialContextFactory
- Geo3dSpatialContextFactory() - Constructor for class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
-
Empty Constructor.
- GeohashPrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
A
SpatialPrefixTree
based on Geohashes. - GeohashPrefixTree(SpatialContext, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
- GeohashPrefixTree.Factory - Class in org.apache.lucene.spatial.prefix.tree
-
Factory for creating
GeohashPrefixTree
instances with useful defaults - get(String) - Static method in class org.apache.lucene.spatial.query.SpatialOperation
- getArea(SpatialContext) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getArea(SpatialContext) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getArea(SpatialContext) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- getBoundingBox() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getBoundingBox() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getBoundingBox() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- getBoundingBox() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getBoundingBox() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- getBuffered(double, SpatialContext) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getBuffered(double, SpatialContext) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getBuffered(double, SpatialContext) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- getBuffered(double, SpatialContext) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getBuffered(double, SpatialContext) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- getBytesRefIterator() - Method in class org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
- getCache(LeafReader) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
- getCalPrecisionField(Calendar) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method: Gets the Calendar field code of the last field that is set prior to an unset field.
- getCell(Point, int) - Method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
- getCell(Point, int) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- getCell(Point, int) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- getCenter() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getCenter() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getCenter() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dCircleShape
- getCenter() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getCenter() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- getContext() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getContext() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getContext() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- getCount(int, int) - Method in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- getCrossesDateLine() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getDistanceForLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- getDistanceForLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- getDistanceForLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
-
Given a cell having the specified level, returns the distance from opposite corners.
- getDistErr() - Method in class org.apache.lucene.spatial.query.SpatialArgs
-
The acceptable error of the shape.
- getDistErrPct() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- getDistErrPct() - Method in class org.apache.lucene.spatial.query.SpatialArgs
-
A measure of acceptable error of the shape as a fraction.
- getDocIdSet() - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
- getDocIdSet(LeafReaderContext) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- getDocIdSet(LeafReaderContext) - Method in class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
- getDocIdSet(LeafReaderContext) - Method in class org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery
- getDocIdSet(LeafReaderContext) - Method in class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
- getFieldName() - Method in class org.apache.lucene.spatial.SpatialStrategy
-
The name of the field or the prefix of them if there are multiple fields needed internally.
- getFieldType() - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
-
Returns a field type representing the set of field options.
- getGeometryStrategy() - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- getGrid() - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
- getGrid() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- getGrid() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getGrid() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getHeight() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getIndexStrategy() - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- getLevel() - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Level 0 is the world (and has no parent), from then on a higher level means a smaller cell than the level before it.
- getLevel() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getLevel() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getLevel() - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape
-
Get the prefix tree level, the higher the more precise.
- getLevel() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree.Factory
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.Factory
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree.Factory
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
-
Returns the level of the largest grid in which its longest side is less than or equal to the provided distance (in degrees).
- getLevelForDistance(double) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- getMaxLevels() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getMaxLevels() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getMaxLevels() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- getMaxLevels(int) - Static method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
-
Get max levels for this spatial tree.
- getMaxLevelsPossible() - Static method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
-
Any more than this and there's no point (double lat and lon are the same).
- getMaxUnit() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getMaxX() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getMaxY() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getMinUnit() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- getMinX() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getMinY() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getName() - Method in class org.apache.lucene.spatial.query.SpatialOperation
- getNextLevelCells(Shape) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Gets the cells at the next grid cell level underneath this one, optionally filtered by
shapeFilter
. - getNextLevelCells(Shape) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getNextLevelCells(Shape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getNumSubCells(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
- getNumSubCells(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Returns the number of sub-cells beneath the given UnitNRShape.
- getOperation() - Method in class org.apache.lucene.spatial.query.SpatialArgs
- getPrefixGridScanLevel() - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- getRadius() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dCircleShape
- getS2CellShape(S2CellId) - Method in interface org.apache.lucene.spatial.prefix.tree.S2ShapeFactory
-
Factory method for S2 cell shapes.
- getS2CellShape(S2CellId) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- getShape() - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Gets the shape for this cell; typically a Rectangle.
- getShape() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getShape() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getShape() - Method in class org.apache.lucene.spatial.query.SpatialArgs
- getShapeAtLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getShapeAtLevel(int) - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape
-
Gets an ancestor at the specified level.
- getShapeRel() - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Gets the relationship this cell has with the shape from which it was filtered from, assuming it came from a
CellIterator
. - getShapeRel() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getShapeRel() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getShapes(int) - Method in class org.apache.lucene.spatial.util.ShapeFieldCache
- getSpatialContext() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- getSpatialContext() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- getSpatialContext() - Method in class org.apache.lucene.spatial.SpatialStrategy
- getSubCell(Point) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
-
Performant implementations are expected to implement this efficiently by considering the current cell's boundary.
- getSubCell(Point) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- getSubCell(Point) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getSubCells() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
-
Gets the cells at the next grid cell level that covers this cell.
- getSubCells() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- getSubCells() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getSubCellsSize() - Method in interface org.apache.lucene.spatial.prefix.tree.CellCanPrune
-
Returns the number of children for this cell.
- getSubCellsSize() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- getTokenBytesNoLeaf(BytesRef) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Returns the bytes for this cell, without a leaf set.
- getTokenBytesNoLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getTokenBytesNoLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getTokenBytesNoLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- getTokenBytesWithLeaf(BytesRef) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Returns the bytes for this cell, with a leaf byte if this is a leaf cell.
- getTokenBytesWithLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- getTokenBytesWithLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getTokenBytesWithLeaf(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- getTreeCellIterator(Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- getTreeCellIterator(Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- getTreeCellIterator(Shape, int) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
-
Gets the intersecting cells for the specified shape, without exceeding detail level.
- getTreeLevelForCalendarField(int) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method: Returns the spatial prefix tree level for the corresponding
Calendar
field, such asCalendar.YEAR
. - getValAtLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- getValAtLevel(int) - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape
-
Gets the value at the specified level of this unit.
- getValues(LeafReaderContext) - Method in class org.apache.lucene.spatial.ShapeValuesSource
-
Get a
ShapeValues
instance for the given leaf reader context - getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- getValues(LeafReaderContext, DoubleValues) - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
-
Returns the FunctionValues used by the function query.
- getVersion() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
-
Return the version of Lucene this tree will mimic the behavior of for analysis.
- getWidth() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- getWorldCell() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
-
Returns the level 0 cell which encompasses all spatial data.
- getX() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- getY() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- grid - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- grid - Variable in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- gridH - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- gridW - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
H
- hasArea() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- hasArea() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- hasArea() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- hasArea() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- hashCode() - Method in class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
- hashCode() - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- hashCode() - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- hashCode() - Method in class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- hashCode() - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- hashCode() - Method in class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
- hashCode() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- hashCode() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- hashCode() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- hashCode() - Method in class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
- hashCode() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- hashCode() - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- hashCode() - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- hashCode() - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- hashCode() - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- hashCode() - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- hashCode() - Method in class org.apache.lucene.spatial.util.ShapeValuesPredicate
- hashCode() - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
- hasNext() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- hasNext() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PrefixTreeIterator
- Heatmap(int, int, Rectangle) - Constructor for class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- HeatmapFacetCounter - Class in org.apache.lucene.spatial.prefix
-
Computes spatial facets in two dimensions as a grid of numbers.
- HeatmapFacetCounter.Heatmap - Class in org.apache.lucene.spatial.prefix
-
Response structure
I
- incrementToken() - Method in class org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
- init(Map<String, String>, ClassLoader) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
- init(Map<String, String>, SpatialContext) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- initCalculator() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
- initMaxLevels() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- initPlanetModel(Map<String, String>) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
- initVersion() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- Intersects - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Meets the "Intersects" OGC definition.
- IntersectsPrefixTreeQuery - Class in org.apache.lucene.spatial.prefix
-
A Query matching documents that have an
SpatialRelation.INTERSECTS
(i.e. - IntersectsPrefixTreeQuery(Shape, String, SpatialPrefixTree, int, int) - Constructor for class org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery
- IntersectsRPTVerifyQuery - Class in org.apache.lucene.spatial.composite
-
A spatial Intersects predicate that distinguishes an approximated match from an exact match based on which cells are within the query shape.
- IntersectsRPTVerifyQuery(Shape, String, SpatialPrefixTree, int, int, ShapeValuesPredicate) - Constructor for class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- is(SpatialOperation, SpatialOperation...) - Static method in class org.apache.lucene.spatial.query.SpatialOperation
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.util.ShapeValuesPredicate
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
- IsDisjointTo - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Meets the "Disjoint" OGC definition.
- isEmpty() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- isEmpty() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- isEmpty() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- isEnd(int, int) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- IsEqualTo - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Meets the "Equals" OGC definition.
- isGridAlignedShape(Shape) - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
- isGridAlignedShape(Shape) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
-
A quick check of the shape to see if it is perfectly aligned to a grid.
- isInternalPrefix(PackedQuadPrefixTree.PackedQuadCell) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- isLeaf - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- isLeaf() - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Some cells are flagged as leaves, which are indexed as such.
- isLeaf() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- isLeaf() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- isMultiOverlappingIndexedShapes() - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- isNormWrapLongitude() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- isOptimizePredicates() - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- isPointShape(Shape) - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
- isPointShape(Shape) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
Returns true if the
shape
is aPoint
. - isPointsOnly() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- isPrefixOf(Cell) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Returns if the target term is within/underneath this cell; not necessarily a direct descendant.
- isPrefixOf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- isPrefixOf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- isPrefixOf(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- isPruneLeafyBranches() - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- isPruneLeafyBranches() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- IsWithin - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Meets the "CoveredBy" OGC definition (boundary-neutral).
- iterator(LeafReaderContext, DocIdSetIterator) - Method in class org.apache.lucene.spatial.util.ShapeValuesPredicate
J
- JAVA_UTIL_TIME_COMPAT_CAL - Static variable in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
A Calendar instance compatible with
ZonedDateTime
as seen fromGregorianCalendar.from(ZonedDateTime)
.
L
- leafyPrune - Variable in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- LegacyCell - Class in org.apache.lucene.spatial.prefix.tree
-
The base for the original two SPT's: Geohash and Quad.
- LegacyCell(byte[], int, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.LegacyCell
-
Warning: Refers to the same bytes (no copy).
- levelByTermLen - Variable in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- lineString() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- lineString(List<Point>, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
M
- makeDistanceValueSource(Point) - Method in class org.apache.lucene.spatial.SpatialStrategy
-
See
SpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point, double)
called with a multiplier of 1.0 (i.e. - makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
- makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
-
Unsupported.
- makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.serialized.SerializedDVStrategy
- makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.SpatialStrategy
-
Make a ValueSource returning the distance between the center of the indexed shape and
queryPoint
. - makeDistanceValueSource(Point, double) - Method in class org.apache.lucene.spatial.vector.PointVectorStrategy
- makeGridShapeIntersectsQuery(Shape) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
-
RecursivePrefixTreeStrategy.makeQuery(SpatialArgs)
specialized for the query being a grid square. - makeOverlapRatioValueSource(Rectangle, double) - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
-
Returns a similarity based on
BBoxOverlapRatioValueSource
. - makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.prefix.TermQueryPrefixTreeStrategy
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.serialized.SerializedDVStrategy
-
Returns a Query that should be used in a random-access fashion.
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.SpatialStrategy
- makeQuery(SpatialArgs) - Method in class org.apache.lucene.spatial.vector.PointVectorStrategy
- makeRecipDistanceValueSource(Shape) - Method in class org.apache.lucene.spatial.SpatialStrategy
-
Returns a ValueSource with values ranging from 1 to 0, depending inversely on the distance from
SpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point,double)
. - makeShape() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
-
Constructs a bounding box shape out of the encoded cell
- makeShape() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.QuadCell
- makeShapeValueSource() - Method in class org.apache.lucene.spatial.bbox.BBoxStrategy
-
Provides access to each rectangle per document as a
ShapeValuesSource
- makeShapeValueSource() - Method in class org.apache.lucene.spatial.serialized.SerializedDVStrategy
-
Provides access to each shape per document
- makeSPT(Map<String, String>, ClassLoader, SpatialContext) - Static method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
-
The factory is looked up via "prefixTree" in args, expecting "geohash" or "quad".
- MAX_DIST_ERR - Static variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- MAX_LEVELS - Static variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- MAX_LEVELS_POSSIBLE - Static variable in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- MAX_LEVELS_POSSIBLE - Static variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- MAX_ROWS_OR_COLUMNS - Static variable in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter
-
Maximum number of supported rows (or columns).
- maxDoc - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- maxLevels - Variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- maxLevels - Variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- maxSubCellsByLevel - Variable in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- maxTermLen - Variable in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- multiLineString() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- multiOverlappingIndexedShapes - Variable in class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
-
If the spatial data for a document is comprised of multiple overlapping or adjacent parts, it might fail to match a query shape when doing the CONTAINS predicate when the sum of those shapes contain the query shape but none do individually.
- multiOverlappingIndexedShapes - Variable in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- multiPoint() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- multiPolygon() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- multiShape(Class<T>) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- multiShape(List<S>) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
N
- needsScores() - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- needsScores() - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- needsScores() - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- needsScores() - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- needsScores() - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- needsScores() - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- needsScores() - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
- newCal() - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method: Returns a clone of the
Calendar
passed to the constructor with all fields cleared. - newCellStack(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- newCellToBytesRefIterator() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- newCellToBytesRefIterator() - Method in class org.apache.lucene.spatial.prefix.TermQueryPrefixTreeStrategy
- newInstance(SpatialContext, String) - Static method in class org.apache.lucene.spatial.bbox.BBoxStrategy
-
Creates a new
BBoxStrategy
instance that usesDoublePoint
andDoublePoint.newRangeQuery(java.lang.String, double, double)
- newInstance(SpatialContext, String) - Static method in class org.apache.lucene.spatial.vector.PointVectorStrategy
-
Create a new
PointVectorStrategy
instance that usesDoublePoint
andDoublePoint.newRangeQuery(java.lang.String, double, double)
- newSpatialArgs(SpatialOperation, Shape) - Method in class org.apache.lucene.spatial.query.SpatialArgsParser
- newSpatialContext() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
- newSPT() - Method in class org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree.Factory
- newSPT() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.Factory
- newSPT() - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.Factory
- newSPT() - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree.Factory
- newSPT() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- next() - Method in class org.apache.lucene.spatial.prefix.CellToBytesRefIterator
- next() - Method in class org.apache.lucene.spatial.prefix.tree.CellIterator
- next() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PrefixTreeIterator
- nextCell - Variable in class org.apache.lucene.spatial.prefix.tree.CellIterator
- nextCell(boolean) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
-
Get the next cell in the tree without using recursion.
- nextFrom(Cell) - Method in class org.apache.lucene.spatial.prefix.tree.CellIterator
-
Gets the next cell that is >=
fromCell
, compared using non-leaf bytes. - normDist(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- normX(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- normY(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- normZ(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- NumberRangePrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
A SpatialPrefixTree for single-dimensional numbers and number ranges of fixed precision values (not floating point).
- NumberRangePrefixTree(int[]) - Constructor for class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- NumberRangePrefixTree.NRCell - Class in org.apache.lucene.spatial.prefix.tree
-
Most of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.
- NumberRangePrefixTree.NRShape - Interface in org.apache.lucene.spatial.prefix.tree
-
Base interface for
Shape
s this prefix tree supports. - NumberRangePrefixTree.SpanUnitsNRShape - Class in org.apache.lucene.spatial.prefix.tree
-
A range Shape; based on a pair of
NumberRangePrefixTree.UnitNRShape
. - NumberRangePrefixTree.UnitNRShape - Interface in org.apache.lucene.spatial.prefix.tree
-
A unit value Shape implemented as a stack of numbers, one for each level in the prefix tree.
- NumberRangePrefixTreeStrategy - Class in org.apache.lucene.spatial.prefix
-
A PrefixTree based on Number/Date ranges.
- NumberRangePrefixTreeStrategy(NumberRangePrefixTree, String) - Constructor for class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy
- NumberRangePrefixTreeStrategy.Facets - Class in org.apache.lucene.spatial.prefix
-
Facet response information
- NumberRangePrefixTreeStrategy.Facets.FacetParentVal - Class in org.apache.lucene.spatial.prefix
-
Holds a block of detailLevel counts aggregated to their parent level.
O
- org.apache.lucene.spatial - package org.apache.lucene.spatial
-
Lucene advanced spatial search
- org.apache.lucene.spatial.bbox - package org.apache.lucene.spatial.bbox
-
Bounding Box Spatial Strategy
- org.apache.lucene.spatial.composite - package org.apache.lucene.spatial.composite
-
Composite strategies.
- org.apache.lucene.spatial.prefix - package org.apache.lucene.spatial.prefix
-
Prefix Tree Strategy.
- org.apache.lucene.spatial.prefix.tree - package org.apache.lucene.spatial.prefix.tree
-
This package is about SpatialPrefixTree and any supporting classes.
- org.apache.lucene.spatial.query - package org.apache.lucene.spatial.query
-
Spatial Query options useful for client side requests
- org.apache.lucene.spatial.serialized - package org.apache.lucene.spatial.serialized
-
Strategies that serialize the shape (non-indexed).
- org.apache.lucene.spatial.spatial4j - package org.apache.lucene.spatial.spatial4j
-
Spatial4j stuff that ideally belongs in Spatial4j (isn't related to Lucene).
- org.apache.lucene.spatial.util - package org.apache.lucene.spatial.util
-
Advanced spatial utilities.
- org.apache.lucene.spatial.vector - package org.apache.lucene.spatial.vector
-
Spatial strategy that uses two fields.
- Overlaps - Static variable in class org.apache.lucene.spatial.query.SpatialOperation
-
Almost meets the "Overlaps" OGC definition, but boundary-neutral (boundary==interior).
P
- PackedQuadPrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
Uses a compact binary representation of 8 bytes to encode a spatial quad trie.
- PackedQuadPrefixTree(SpatialContext, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- PackedQuadPrefixTree.Factory - Class in org.apache.lucene.spatial.prefix.tree
-
Factory for creating
PackedQuadPrefixTree
instances with useful defaults. - PackedQuadPrefixTree.PackedQuadCell - Class in org.apache.lucene.spatial.prefix.tree
-
See binary representation in the javadocs of
PackedQuadPrefixTree
. - PackedQuadPrefixTree.PrefixTreeIterator - Class in org.apache.lucene.spatial.prefix.tree
-
This is a streamlined version of TreeCellIterator, with built-in support to prune at detailLevel (but not recursively upwards).
- parentLeaves - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets.FacetParentVal
-
The count of ranges that span all of the childCounts.
- parents - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets
-
Holds all the
NumberRangePrefixTreeStrategy.Facets.FacetParentVal
instances in order of the key. - parse(String, SpatialContext) - Method in class org.apache.lucene.spatial.query.SpatialArgsParser
-
Parses a string such as "Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025".
- parseCalendar(String) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method: The reverse of
DateRangePrefixTree.toString(java.util.Calendar)
. - parseMap(String) - Static method in class org.apache.lucene.spatial.query.SpatialArgsParser
-
Parses "a=b zScaling=d f" (whitespace separated) into name-value pairs.
- parseShape(String) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Detects a range pattern and parses it, otherwise it's parsed as one shape via
NumberRangePrefixTree.parseUnitShape(String)
. - parseShape(String, SpatialContext) - Method in class org.apache.lucene.spatial.query.SpatialArgsParser
- parseUnitShape(String) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
- parseUnitShape(String) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Parse a String to a UnitNRShape.
- planetModel - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- planetModel - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
-
The planet model
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- PointPrefixTreeFieldCacheProvider - Class in org.apache.lucene.spatial.prefix
-
Implementation of
ShapeFieldCacheProvider
designed forPrefixTreeStrategy
s that index points (AND ONLY POINTS!). - PointPrefixTreeFieldCacheProvider(SpatialPrefixTree, String, int) - Constructor for class org.apache.lucene.spatial.prefix.PointPrefixTreeFieldCacheProvider
- pointsOnly - Variable in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- PointVectorStrategy - Class in org.apache.lucene.spatial.vector
-
Simple
SpatialStrategy
which represents Points in two numeric fields. - PointVectorStrategy(SpatialContext, String, FieldType) - Constructor for class org.apache.lucene.spatial.vector.PointVectorStrategy
-
Create a new instance configured with the provided FieldType options.
- pointXY(double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- pointXYZ(double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- polygon() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- postingsEnum - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- postSiblings(AbstractVisitingPrefixTreeQuery.VNode) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
- PREFIX_TREE - Static variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- prefixGridScanLevel - Variable in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery
- prefixGridScanLevel - Variable in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- PrefixTreeFacetCounter - Class in org.apache.lucene.spatial.prefix
-
Computes facets on cells for
PrefixTreeStrategy
. - PrefixTreeFacetCounter.FacetVisitor - Class in org.apache.lucene.spatial.prefix
-
A callback/visitor of facet counts.
- PrefixTreeStrategy - Class in org.apache.lucene.spatial.prefix
-
An abstract SpatialStrategy based on
SpatialPrefixTree
. - PrefixTreeStrategy(SpatialPrefixTree, String) - Constructor for class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- PrefixTreeStrategy.ShapeTokenStream - Class in org.apache.lucene.spatial.prefix
-
Tokenstream for indexing cells of a shape
- preSiblings(AbstractVisitingPrefixTreeQuery.VNode) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
- printInfo(PrintStream) - Method in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- pruneLeafyBranches - Variable in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
Q
- QUAD - Static variable in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- QuadPrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
A
SpatialPrefixTree
which uses a quad tree in which an indexed term will be generated for each cell, 'A', 'B', 'C', 'D'. - QuadPrefixTree(SpatialContext) - Constructor for class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- QuadPrefixTree(SpatialContext, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- QuadPrefixTree(SpatialContext, Rectangle, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- QuadPrefixTree.Factory - Class in org.apache.lucene.spatial.prefix.tree
-
Factory for creating
QuadPrefixTree
instances with useful defaults - QuadPrefixTree.QuadCell - Class in org.apache.lucene.spatial.prefix.tree
-
individual QuadPrefixTree grid cell
- queryShape - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
R
- readBool(String, boolean) - Static method in class org.apache.lucene.spatial.query.SpatialArgsParser
- readCell(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- readCell(BytesRef) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- readCell(BytesRef, Cell) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- readCell(BytesRef, Cell) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- readCell(BytesRef, Cell) - Method in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- readCell(BytesRef, Cell) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
-
This creates a new Cell (or re-using
scratch
if provided), initialized to the state as read by the bytes. - readCircle(DataInput) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- readCollection(DataInput) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- readDouble(String) - Static method in class org.apache.lucene.spatial.query.SpatialArgsParser
- readLeafAdjust() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- readLeafAdjust() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
- readNameValuePairs(SpatialArgs, Map<String, String>) - Method in class org.apache.lucene.spatial.query.SpatialArgsParser
- readPoint(DataInput) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- readRect(DataInput) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- readShape(DataInput) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- readShape(BytesRef) - Method in class org.apache.lucene.spatial.prefix.PointPrefixTreeFieldCacheProvider
- readShape(BytesRef) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
- ReciprocalDoubleValuesSource - Class in org.apache.lucene.spatial.util
-
Transforms a DoubleValuesSource using the formula v = k / (v + k)
- ReciprocalDoubleValuesSource(double, DoubleValuesSource) - Constructor for class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
-
Creates a ReciprocalDoubleValuesSource
- rect(double, double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- rect(Point, Point) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- RecursivePrefixTreeStrategy - Class in org.apache.lucene.spatial.prefix
-
A
PrefixTreeStrategy
which usesAbstractVisitingPrefixTreeQuery
. - RecursivePrefixTreeStrategy(SpatialPrefixTree, String) - Constructor for class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- region - Variable in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- register(String) - Method in class org.apache.lucene.spatial.query.SpatialOperation
- relate(NumberRangePrefixTree.SpanUnitsNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- relate(NumberRangePrefixTree.SpanUnitsNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- relate(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- relate(Shape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- relate(Shape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- relate(Shape) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- relateXRange(double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- relateYRange(double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- remove() - Method in class org.apache.lucene.spatial.prefix.tree.CellIterator
-
This prevents sub-cells (those underneath the current cell) from being iterated to, if applicable, otherwise a NO-OP.
- remove() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PrefixTreeIterator
- reset() - Method in class org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
- reset(double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dPointShape
- reset(double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dCircleShape
- reset(double, double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
- reset(Iterator<Cell>) - Method in class org.apache.lucene.spatial.prefix.CellToBytesRefIterator
- resolveDistErr(SpatialContext, double) - Method in class org.apache.lucene.spatial.query.SpatialArgs
-
Gets the error distance that specifies how precise the query shape is.
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- rewrite(IndexSearcher) - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
- robust - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- roundToLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- roundToLevel(int) - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRShape
-
Returns this shape rounded to the target level.
- roundToLevel(int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- roundToLevel(int) - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape
- rows - Variable in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
S
- S2PrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
Spatial prefix tree for S2 Geometry.
- S2PrefixTree(SpatialContext, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
-
Creates a S2 spatial tree with arity 1.
- S2PrefixTree(SpatialContext, int, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
-
Creates a S2 spatial tree with provided arity.
- S2PrefixTree.Factory - Class in org.apache.lucene.spatial.prefix.tree
-
Factory for creating
S2PrefixTree
instances with useful defaults - s2ShapeFactory - Variable in class org.apache.lucene.spatial.prefix.tree.S2PrefixTree
- S2ShapeFactory - Interface in org.apache.lucene.spatial.prefix.tree
-
Shape factory for Spatial contexts that support S2 geometry.
- scan(int) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Scans (
termsEnum.next()
) terms until a term is found that does not start with curVNode's cell. - score(Rectangle, AtomicReference<Explanation>) - Method in class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
- score(Rectangle, AtomicReference<Explanation>) - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
-
Return a relevancy score.
- SerializedDVStrategy - Class in org.apache.lucene.spatial.serialized
-
A SpatialStrategy based on serializing a Shape stored into BinaryDocValues.
- SerializedDVStrategy(SpatialContext, String) - Constructor for class org.apache.lucene.spatial.serialized.SerializedDVStrategy
-
Constructs the spatial strategy with its mandatory arguments.
- setBytesRefIterator(BytesRefIterator) - Method in class org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
- setCircleAccuracy(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
-
Set the accuracy for circles in decimal degrees.
- setDefaultFieldValuesArrayLen(int) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
A memory hint used by
SpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point)
for how big the initial size of each Document's array should be. - setDistErr(Double) - Method in class org.apache.lucene.spatial.query.SpatialArgs
- setDistErrPct(double) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
The default measure of shape precision affecting shapes at index and query times.
- setDistErrPct(Double) - Method in class org.apache.lucene.spatial.query.SpatialArgs
- setLeaf() - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
Set this cell to be a leaf.
- setLeaf() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- setLeaf() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- setMultiOverlappingIndexedShapes(boolean) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- setOperation(SpatialOperation) - Method in class org.apache.lucene.spatial.query.SpatialArgs
- setOptimizePredicates(boolean) - Method in class org.apache.lucene.spatial.composite.CompositeSpatialStrategy
-
Set to false to NOT use optimized search predicates that avoid checking the geometry sometimes.
- setPointsOnly(boolean) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
-
True if only indexed points shall be supported.
- setPrefixGridScanLevel(int) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
-
Sets the grid level [1-maxLevels] at which indexed terms are scanned brute-force instead of by grid decomposition.
- setPruneLeafyBranches(boolean) - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
-
An optional hint affecting non-point shapes and tree cells implementing
CellCanPrune
, otherwise ignored. - setPruneLeafyBranches(boolean) - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
-
Like
RecursivePrefixTreeStrategy.setPruneLeafyBranches(boolean)
but more memory efficient and only applies to the detailLevel, where it has the most effect. - setShape(Shape) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy.ShapeTokenStream
- setShape(Shape) - Method in class org.apache.lucene.spatial.query.SpatialArgs
- setShapeRel(SpatialRelation) - Method in interface org.apache.lucene.spatial.prefix.tree.Cell
-
See
Cell.getShapeRel()
. - setShapeRel(SpatialRelation) - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- setShapeRel(SpatialRelation) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- setVersion(Version) - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
-
Set the version of Lucene this tree should mimic the behavior for for analysis.
- shape - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- shape - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- ShapeAreaValueSource - Class in org.apache.lucene.spatial.util
-
The area of a Shape retrieved from an ShapeValuesSource
- ShapeAreaValueSource(ShapeValuesSource, SpatialContext, boolean, double) - Constructor for class org.apache.lucene.spatial.util.ShapeAreaValueSource
- shapeField - Variable in class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
- ShapeFieldCache<T extends org.locationtech.spatial4j.shape.Shape> - Class in org.apache.lucene.spatial.util
-
Bounded Cache of Shapes associated with docIds.
- ShapeFieldCache(int, int) - Constructor for class org.apache.lucene.spatial.util.ShapeFieldCache
- ShapeFieldCacheDistanceValueSource - Class in org.apache.lucene.spatial.util
-
A DoubleValuesSource that returns the spatial distance between an input point and a document's points in
ShapeFieldCacheProvider
. - ShapeFieldCacheDistanceValueSource(SpatialContext, ShapeFieldCacheProvider<Point>, Point, double) - Constructor for class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- ShapeFieldCacheProvider<T extends org.locationtech.spatial4j.shape.Shape> - Class in org.apache.lucene.spatial.util
-
Provides access to a
ShapeFieldCache
for a givenLeafReader
. - ShapeFieldCacheProvider(String, int) - Constructor for class org.apache.lucene.spatial.util.ShapeFieldCacheProvider
- shapeRel - Variable in class org.apache.lucene.spatial.prefix.tree.LegacyCell
-
When set via getSubCells(filter), it is the relationship between this cell and the given shape filter.
- ShapeTokenStream() - Constructor for class org.apache.lucene.spatial.prefix.PrefixTreeStrategy.ShapeTokenStream
- ShapeValues - Class in org.apache.lucene.spatial
-
Iterator over
Shape
objects for an index segment - ShapeValues() - Constructor for class org.apache.lucene.spatial.ShapeValues
- ShapeValuesPredicate - Class in org.apache.lucene.spatial.util
-
Compares a shape from a provided
ShapeValuesSource
with a given Shape and sees if it matches a givenSpatialOperation
(the predicate). - ShapeValuesPredicate(ShapeValuesSource, SpatialOperation, Shape) - Constructor for class org.apache.lucene.spatial.util.ShapeValuesPredicate
- ShapeValuesSource - Class in org.apache.lucene.spatial
-
Produces
ShapeValues
per-segment - ShapeValuesSource() - Constructor for class org.apache.lucene.spatial.ShapeValuesSource
- similarityDescription() - Method in class org.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource
- similarityDescription() - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
-
A comma-separated list of configurable items of the subclass to put into
BBoxSimilarityValueSource.toString()
. - simplifyIndexedCells - Variable in class org.apache.lucene.spatial.prefix.TermQueryPrefixTreeStrategy
- SpatialArgs - Class in org.apache.lucene.spatial.query
-
Principally holds the query
Shape
and theSpatialOperation
. - SpatialArgs(SpatialOperation, Shape) - Constructor for class org.apache.lucene.spatial.query.SpatialArgs
- SpatialArgsParser - Class in org.apache.lucene.spatial.query
-
Parses a string that usually looks like "OPERATION(SHAPE)" into a
SpatialArgs
object. - SpatialArgsParser() - Constructor for class org.apache.lucene.spatial.query.SpatialArgsParser
- spatialcontext - Variable in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- SpatialOperation - Class in org.apache.lucene.spatial.query
-
A predicate that compares a stored geometry to a supplied geometry.
- SpatialOperation(String) - Constructor for class org.apache.lucene.spatial.query.SpatialOperation
- SpatialPrefixTree - Class in org.apache.lucene.spatial.prefix.tree
-
A spatial Prefix Tree, or Trie, which decomposes shapes into prefixed strings at variable lengths corresponding to variable precision.
- SpatialPrefixTree(SpatialContext, int) - Constructor for class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- SpatialPrefixTreeFactory - Class in org.apache.lucene.spatial.prefix.tree
-
Abstract Factory for creating
SpatialPrefixTree
instances with useful defaults and passed on configurations defined in a Map. - SpatialPrefixTreeFactory() - Constructor for class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- SpatialStrategy - Class in org.apache.lucene.spatial
-
The SpatialStrategy encapsulates an approach to indexing and searching based on shapes.
- SpatialStrategy(SpatialContext, String) - Constructor for class org.apache.lucene.spatial.SpatialStrategy
-
Constructs the spatial strategy with its mandatory arguments.
- start() - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Called first to setup things.
- startOfSegment() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.FacetVisitor
-
Called at the start of the segment, if there is indexed data.
- SUFFIX_MAXX - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
- SUFFIX_MAXY - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
- SUFFIX_MINX - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
- SUFFIX_MINY - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
- SUFFIX_X - Static variable in class org.apache.lucene.spatial.vector.PointVectorStrategy
- SUFFIX_XDL - Static variable in class org.apache.lucene.spatial.bbox.BBoxStrategy
- SUFFIX_Y - Static variable in class org.apache.lucene.spatial.vector.PointVectorStrategy
T
- termLenByLevel - Variable in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- TermQueryPrefixTreeStrategy - Class in org.apache.lucene.spatial.prefix
-
A basic implementation of
PrefixTreeStrategy
using a largeTermInSetQuery
of all the cells fromSpatialPrefixTree.getTreeCellIterator(org.locationtech.spatial4j.shape.Shape, int)
. - TermQueryPrefixTreeStrategy(SpatialPrefixTree, String) - Constructor for class org.apache.lucene.spatial.prefix.TermQueryPrefixTreeStrategy
- terms - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- termsEnum - Variable in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery.BaseTermsEnumTraverser
- thisCell - Variable in class org.apache.lucene.spatial.prefix.tree.CellIterator
- thisCell() - Method in class org.apache.lucene.spatial.prefix.tree.CellIterator
-
Returns the cell last returned from
CellIterator.next()
. - toCalendar(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Converts the
NumberRangePrefixTree.UnitNRShape
shape to a corresponding Calendar that is cleared below its level. - tokenStream() - Method in class org.apache.lucene.spatial.prefix.PrefixTreeStrategy
- toObject(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
- toObject(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Converts a UnitNRShape shape to the corresponding type supported by this class, such as a Calendar/BigDecimal.
- topLeaves - Variable in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets
-
The count of documents with ranges that completely spanned the parents of the detail level.
- toRangeShape(NumberRangePrefixTree.UnitNRShape, NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Returns a shape that represents the continuous range between
start
andend
. - toShape(int[], int) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- toShape(Calendar) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Converts the Calendar into a Shape.
- toString() - Method in class org.apache.lucene.spatial.bbox.BBoxSimilarityValueSource
- toString() - Method in class org.apache.lucene.spatial.prefix.HeatmapFacetCounter.Heatmap
- toString() - Method in class org.apache.lucene.spatial.prefix.NumberRangePrefixTreeStrategy.Facets
- toString() - Method in class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.LegacyCell
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
- toString() - Method in interface org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRShape
-
The result should be parseable by
NumberRangePrefixTree.parseShape(String)
. - toString() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.SpanUnitsNRShape
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.PackedQuadCell
-
Used for debugging, this will print the bits of the cell
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
- toString() - Method in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
- toString() - Method in class org.apache.lucene.spatial.query.SpatialArgs
- toString() - Method in class org.apache.lucene.spatial.query.SpatialOperation
- toString() - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShape
- toString() - Method in class org.apache.lucene.spatial.SpatialStrategy
- toString() - Method in class org.apache.lucene.spatial.util.CachingDoubleValueSource
- toString() - Method in class org.apache.lucene.spatial.util.DistanceToShapeValueSource
- toString() - Method in class org.apache.lucene.spatial.util.ReciprocalDoubleValuesSource
- toString() - Method in class org.apache.lucene.spatial.util.ShapeAreaValueSource
- toString() - Method in class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
- toString() - Method in class org.apache.lucene.spatial.util.ShapeValuesPredicate
- toString() - Method in class org.apache.lucene.spatial.vector.DistanceValueSource
-
Returns the ValueSource description.
- toString(String) - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- toString(String) - Method in class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- toString(String) - Method in class org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
- toString(String) - Method in class org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery
- toString(String) - Method in class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
- toString(Calendar) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
-
Calendar utility method consistent with
DateTimeFormatter.ISO_INSTANT
except has no trailing 'Z', and will be truncated to the units given according toCalendar.isSet(int)
. - toString(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
- toString(NumberRangePrefixTree.UnitNRShape) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
A string representation of the UnitNRShape that is parse-able by
NumberRangePrefixTree.parseUnitShape(String)
. - toStringDebug() - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRCell
-
Configure your IDE to use this.
- toStringUnitRaw(NumberRangePrefixTree.UnitNRShape) - Static method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
- toUnitShape(Object) - Method in class org.apache.lucene.spatial.prefix.tree.DateRangePrefixTree
- toUnitShape(Object) - Method in class org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree
-
Converts the value to a unit shape.
U
- UnsupportedSpatialOperation - Exception in org.apache.lucene.spatial.query
-
Exception thrown when the
SpatialStrategy
cannot implement the requested operation. - UnsupportedSpatialOperation(SpatialOperation) - Constructor for exception org.apache.lucene.spatial.query.UnsupportedSpatialOperation
V
- validate() - Method in class org.apache.lucene.spatial.query.SpatialArgs
-
Check if the arguments make sense -- throw an exception if not
- value() - Method in class org.apache.lucene.spatial.ShapeValues
-
Returns a
Shape
for the current document - values() - Static method in class org.apache.lucene.spatial.query.SpatialOperation
- verifyX(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- verifyY(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- verifyZ(double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory
- VERSION - Static variable in class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTreeFactory
- visit(QueryVisitor) - Method in class org.apache.lucene.spatial.composite.CompositeVerifyQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.spatial.composite.IntersectsRPTVerifyQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.spatial.prefix.AbstractPrefixTreeQuery
- visit(Cell, int) - Method in class org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.FacetVisitor
-
Called for cells with a leaf, or cells at the target facet level.
- visitLeaf(Cell) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Called when an indexed leaf cell is found.
- VisitorTemplate(LeafReaderContext) - Constructor for class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
- visitPrefix(Cell) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
Visit an indexed non-leaf cell.
- visitScanned(Cell) - Method in class org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.VisitorTemplate
-
The cell is either indexed as a leaf or is the last level of detail.
W
- within(Point, double, double, double) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
- WithinPrefixTreeQuery - Class in org.apache.lucene.spatial.prefix
-
Finds docs where its indexed shape is
WITHIN
the query shape. - WithinPrefixTreeQuery(Shape, String, SpatialPrefixTree, int, int, double) - Constructor for class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
- writeCircle(DataOutput, Circle) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- writeCollection(DataOutput, ShapeCollection) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- writePoint(DataOutput, Point) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- writeRect(DataOutput, Rectangle) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
- writeShape(DataOutput, Shape) - Method in class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
X
- xmax - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- xmid - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- xmin - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
Y
- ymax - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- ymid - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
- ymin - Variable in class org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
All Classes All Packages