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

Add a slow random-access ords wrapper

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • 4.10, 6.0
    • None
    • None
    • New

    Description

      Even if you are using an algorithm that requires random access (eg. sorting based on the maximum value), it might still be ok to allow for it occasionally on a codec that doesn't support random access like MemoryDocValuesFormat by having a slow random-access wrapper. This slow wrapper would need to be enabled explicitely. This would allow to have algorithms that are optimized on random-access codecs but still work in the general case.

      Attachments

        1. LUCENE-5794.patch
          2 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: