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

FilterCodec should take a delegate Codec in its ctor

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0-BETA
    • Fix Version/s: 4.0, 4.1, 6.0
    • Component/s: core/codecs
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      FilterCodec has a delegate() method through which an extension can return its delegate Codec. This method is called on every Codec method. Adrien, on LUCENE-4391, failed to pass a Codec in the ctor, since he couldn't called Codec.forName().

      Instead, we should just pass e.g. new Lucene40Codec(). I'll post a patch shortly.

        Attachments

        1. LUCENE-4440.patch
          11 kB
          Uwe Schindler
        2. LUCENE-4440.patch
          7 kB
          Shai Erera

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                shaie Shai Erera
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: