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

Sorter API: use an abstract doc map instead of an array

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.3
    • None
    • None
    • New

    Description

      The sorter API uses arrays to store the old->new and new->old doc IDs mappings. It should rather be an abstract class given that in some cases an array is not required at all (reverse mapping for example).

      Attachments

        1. LUCENE-4830.patch
          24 kB
          Adrien Grand

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: