Robert Muir created LUCENE-7892:
-----------------------------------

             Summary: LatLonDocValuesField methods should be clearly marked as 
slow
                 Key: LUCENE-7892
                 URL: https://issues.apache.org/jira/browse/LUCENE-7892
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


It is very trappy that LatLonDocValuesField has stuff like 
newBoxQuery/newDistanceQuery.

Users bring this up on the user list and are confused as to why the resulting 
queries are slow.

Here, we hurt the typical use case, to try to slightly speed up an esoteric one 
(sparse stuff). Its a terrible tradeoff for the API.

If we truly must have such slow methods in the public API, then they should 
have {{slow}} in their name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to