Class SerializedDVStrategy
A SpatialStrategy based on serializing a Shape stored into BinaryDocValues. This is not at all fast; it's designed to be used in conjuction with another index based SpatialStrategy that is approximated(like RecursivePrefixTreeStrategy) to add precision or eventually make more specific / advanced calculations on the per-document geometry. The serialization uses Spatial4j's BinaryCodec.
@lucene.experimental
Inherited Members
Assembly: Lucene.Net.Spatial.dll
Syntax
[Serializable]
public class SerializedDVStrategy : SpatialStrategy
Constructors
Name | Description |
---|---|
SerializedDVStrategy(SpatialContext, String) | Constructs the spatial strategy with its mandatory arguments. |
Methods
Name | Description |
---|---|
MakeDistanceValueSource(IPoint, Double) | |
MakeFilter(SpatialArgs) | Returns a Filter that should be used with QUERY_FIRST_FILTER_STRATEGY. Use in another manner is likely to result in an System.NotSupportedException to prevent misuse because the filter can't efficiently work via iteration. |
MakeQuery(SpatialArgs) | |
MakeShapeValueSource() | Provides access to each shape per document as a ValueSource in which ObjectVal(Int32) returns a IShape. |