David Smiley created LUCENE-5568:
------------------------------------

             Summary: Benchmark default.codec doesn't work
                 Key: LUCENE-5568
                 URL: https://issues.apache.org/jira/browse/LUCENE-5568
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/benchmark
            Reporter: David Smiley
            Assignee: David Smiley
            Priority: Minor
             Fix For: 4.8


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).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to