David Smiley created LUCENE-9689:
------------------------------------

             Summary: Remove PrefixTreeStrategy.makeDistanceValueSource support
                 Key: LUCENE-9689
                 URL: https://issues.apache.org/jira/browse/LUCENE-9689
             Project: Lucene - Core
          Issue Type: Task
          Components: modules/spatial-extras
            Reporter: David Smiley


PrefixTreeStrategy.makeDistanceValueSource reads all the full length terms and 
puts them into memory.  And it does this rather crudely; it's not efficient, 
unlike much other Lucene code.  Furthermore, it can be mis-used when non-point 
data is put into the RPT, leading to undefined results.  We could add 
"isPointsOnly" to make it safe, but I think support for this ought to be 
removed; instead users can use LatLonDocValuesField.newDistanceSort for 
geospatial data (surface of earth), or PointVectorStrategy for general 2D.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to