Oooooh yes.... So in 5.x there was no DocValues option for this
SpatialStrategy impl which is a shame of course.  You could take the code
for 6.x:
https://github.com/apache/lucene-solr/blob/branch_6x/lucene/spatial-extras/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java
and back port it to Lucene 5x.  It shouldn't be too hard.  Since you only
need this for distance sorting, you could only port what's needed; have
makeQuery(...) throw an exception.  createIndexableFields need only output
a 2-element array, one for each DoubleDocValuesField.

~ David

On Mon, Jul 17, 2017 at 12:46 AM sc <[EMAIL PROTECTED]> wrote:
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB