SpatialStrategy has this abstract method:
I'd like to add another argument double multiplier that is internally multiplied to the result per document. It's a convenience over having the user wrap this with another ValueSource, and it'd be faster too. Typical usage would be to add a degrees-to-kilometers multiplier.
The current method could be marked deprecated with a default implementation that invokes the new one with a 1.0 multiplier.
|Attachment||LUCENE-5118__multiplier_to_spatial_makeDistanceValueSource.patch [ 12592715 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||5.0 [ 12321663 ]|
|Resolution||Fixed [ 1 ]|