Lucene - Core
  1. Lucene - Core
  2. LUCENE-4830

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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).

      1. LUCENE-4830.patch
        24 kB
        Adrien Grand

        Issue Links

          Activity

          Adrien Grand created issue -
          Adrien Grand made changes -
          Field Original Value New Value
          Attachment LUCENE-4830.patch [ 12573618 ]
          Adrien Grand made changes -
          Link This issue is related to LUCENE-3918 [ LUCENE-3918 ]
          Adrien Grand made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Adrien Grand
              Reporter:
              Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development