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

Benchmark default.codec doesn't work

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.8
    • modules/benchmark
    • None
    • New, Patch Available

    Description

      CreateIndexTask looks at the "default.codec" option and ultimately calls Codec.setDefault(...). However that only applies to IndexWriterConfig's created after this point in time, but the IndexWriterConfig here was already created. This fix is to simply call iwc.setCodec(codec).

      Attachments

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: