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:
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: | Book:
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