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

FilterCodec should take a delegate Codec in its ctor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0-BETA
    • 4.0, 4.1, 6.0
    • core/codecs
    • None
    • 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

              uschindler Uwe Schindler
              shaie Shai Erera
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: