You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/04/03 17:34:15 UTC

[jira] [Created] (LUCENE-5568) Benchmark default.codec doesn't work

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org