lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Karsh (JIRA)" <>
Subject [jira] [Created] (LUCENE-5223) IndexUpgrader (4.4.0) fails when -verbose is not set
Date Tue, 17 Sep 2013 20:55:52 GMT
Bruce Karsh created LUCENE-5223:

             Summary: IndexUpgrader (4.4.0) fails when -verbose is not set
                 Key: LUCENE-5223
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
    Affects Versions: 4.4
         Environment: Linux
            Reporter: Bruce Karsh
            Priority: Minor

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(
	at org.apache.lucene.index.IndexUpgrader.<init>(
	at org.apache.lucene.index.IndexUpgrader.main(

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message