[ https://issues.apache.org/jira/browse/LUCENE-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959314#comment-13959314 ]
ASF subversion and git services commented on LUCENE-5568: --------------------------------------------------------- Commit 1584422 from [~dsmiley] in branch 'dev/trunk' [ https://svn.apache.org/r1584422 ] LUCENE-5568: Fix benchmark default.codec to work > 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 > > Attachments: LUCENE-5568_benchmark_default_codec_does_not_work.patch > > > 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