lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject IndexWriter.getUseCompoundFile is confusing
Date Fri, 06 Aug 2004 10:01:38 GMT

I open an index with create=false so I can use addIndexes() on that index. I 
want to use the existing setting for useCompoundFile of that index. But 
getUseCompoundFile() will always return true, as it just returns what one has 
set with setUseCompoundFile() or the default.

I suggest to just remove getUseCompoundFile(). Asking for a value which one 
set just before with setUseCompoundFile() doesn't make much sense, and asking 
for the default also doesn't make much sense either I think. Any 


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

View raw message