Namespace Lucene.Net.Spatial.Util
Various spatial utilities.
Classes
CachingDoubleValueSource
Caches the doubleVal of another value source in a System.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
DistanceToShapeValueSource
The distance from a provided Point to a Point retrieved from a ValueSource via
Lucene.
Note
This API is experimental and might change in incompatible ways in the next release.
ShapeFieldCache<T>
Bounded Cache of Shapes associated with docIds. Note, multiple Shapes can be associated with a given docId
WARNING: This class holds the data in an extremely inefficient manner as all Points are in memory as objects and they are stored in many Lists (one per document). So it works but doesn't scale. It will be replaced in the future.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
ShapeFieldCacheDistanceValueSource
An implementation of the Lucene ValueSource that returns the spatial distance between an input point and a document's points in ShapeFieldCacheProvider<T>. The shortest distance is returned if a document has more than one point.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
ShapeFieldCacheProvider<T>
Provides access to a ShapeFieldCache<T>
for a given Lucene.
If a Cache does not exist for the Reader, then it is built by iterating over the all terms for a given field, reconstructing the Shape from them, and adding them to the Cache.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
ShapePredicateValueSource
A boolean Lucene.
Note
This API is experimental and might change in incompatible ways in the next release.
ValueSourceFilter
Lucene.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.