List of usage examples for org.apache.lucene.spatial.util DistanceToShapeValueSource DistanceToShapeValueSource
public DistanceToShapeValueSource(ShapeValuesSource shapeValueSource, Point queryPoint, double multiplier, SpatialContext ctx)
From source file:org.apache.solr.legacy.BBoxStrategy.java
License:Apache License
@Override public DoubleValuesSource makeDistanceValueSource(Point queryPoint, double multiplier) { //TODO if makeShapeValueSource gets lifted to the top; this could become a generic impl. return new DistanceToShapeValueSource(makeShapeValueSource(), queryPoint, multiplier, ctx); }