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

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

Commit 1524529 from hoss...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1524529 ]

LUCENE-5223: Fixed IndexUpgrader command line parsing: -verbose is not required 
and -dir-impl option now works correctly (merge r1524521)
                
> IndexUpgrader (4.4.0) fails when -verbose is not set, or when any value of 
> -dir-impl is specified
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5223
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5223
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.4
>         Environment: Linux
>            Reporter: Bruce Karsh
>            Assignee: Uwe Schindler
>            Priority: Minor
>         Attachments: LUCENE-5223.patch, LUCENE-5223.patch
>
>
> Here it fails because -verbose is not set:
> $ java -cp ./lucene-core-4.4-SNAPSHOT.jar 
> org.apache.lucene.index.IndexUpgrader ./INDEX
> Exception in thread "main" java.lang.IllegalArgumentException: printStream 
> must not be null
>       at 
> org.apache.lucene.index.IndexWriterConfig.setInfoStream(IndexWriterConfig.java:514)
>       at org.apache.lucene.index.IndexUpgrader.<init>(IndexUpgrader.java:126)
>       at org.apache.lucene.index.IndexUpgrader.main(IndexUpgrader.java:109)
> Here it works with -verbose set:
> $ java -cp ./lucene-core-4.4-SNAPSHOT.jar 
> org.apache.lucene.index.IndexUpgrader -verbose ./INDEX
> IFD 0 [Mon Sep 16 18:25:53 PDT 2013; main]: init: current segments file is 
> "segments_5"; 
> deletionPolicy=org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy@42698403
> ...
> IW 0 [Mon Sep 16 18:25:53 PDT 2013; main]: at close: _2(4.4):C4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to