Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7892

LatLonDocValuesField methods should be clearly marked as slow

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0, 8.0
    • None
    • None
    • New

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: