[ 
https://issues.apache.org/jira/browse/LUCENE-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070129#comment-16070129
 ] 

Michael McCandless commented on LUCENE-7892:
--------------------------------------------

+1

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to