lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5568) Benchmark default.codec doesn't work
Date Thu, 03 Apr 2014 22:13:23 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959320#comment-13959320
] 

ASF subversion and git services commented on LUCENE-5568:
---------------------------------------------------------

Commit 1584423 from [~dsmiley] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1584423 ]

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


Mime
View raw message