lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: IndexUpdater (4.4.0) fails when -verbose is not set
Date Tue, 17 Sep 2013 01:39:40 GMT
Hi Bruce,

Thanks for investigating! Can you open a bug report on https://issues.apache.org/jira/browse/LUCENE
?

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Bruce Karsh [mailto:brucekarsh@gmail.com]
> Sent: Tuesday, September 17, 2013 3:27 AM
> To: java-user@lucene.apache.org
> Subject: IndexUpdater (4.4.0) fails when -verbose is not set
> 
> 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(IndexWriterConf
> ig.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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message