[ https://issues.apache.org/jira/browse/LUCENE-7892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094656#comment-16094656 ]
ASF subversion and git services commented on LUCENE-7892: --------------------------------------------------------- Commit c270f780b1612ede6254aa92ba90cfd4dcc1b92d in lucene-solr's branch refs/heads/branch_7x from [~jpountz] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c270f78 ] LUCENE-7892: Add missing "Slow" to doc-value query factory methods. > 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 > Fix For: 7.0, master (8.0) > > > 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