[
https://issues.apache.org/jira/browse/LUCENE-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-5568:
---------------------------------
Attachment: LUCENE-5568_benchmark_default_codec_does_not_work.patch
> 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: [email protected]
For additional commands, e-mail: [email protected]