mirror of https://github.com/apache/lucene.git
Changed the default index format to be compound.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76bd7d9b29
commit
f19a63217d
|
@ -75,6 +75,10 @@ $Id$
|
||||||
http://issues.apache.org/bugzilla/show_bug.cgi?id=27491
|
http://issues.apache.org/bugzilla/show_bug.cgi?id=27491
|
||||||
(Morus Walter via Otis)
|
(Morus Walter via Otis)
|
||||||
|
|
||||||
|
14. Changed so that the compound index format is used by default.
|
||||||
|
This makes indexing a bit slower, but vastly reduces the chances
|
||||||
|
of file handle problems. (Cutting)
|
||||||
|
|
||||||
|
|
||||||
1.3 final
|
1.3 final
|
||||||
|
|
||||||
|
|
|
@ -112,10 +112,11 @@ public class IndexWriter {
|
||||||
|
|
||||||
private Lock writeLock;
|
private Lock writeLock;
|
||||||
|
|
||||||
/** Use compound file setting. Defaults to false to maintain multiple files
|
/** Use compound file setting. Defaults to true, minimizing the number of
|
||||||
* per segment behavior.
|
* files used. Setting this to false may improve indexing performance, but
|
||||||
|
* may also cause file handle problems.
|
||||||
*/
|
*/
|
||||||
private boolean useCompoundFile = false;
|
private boolean useCompoundFile = true;
|
||||||
|
|
||||||
|
|
||||||
/** Setting to turn on usage of a compound file. When on, multiple files
|
/** Setting to turn on usage of a compound file. When on, multiple files
|
||||||
|
|
Loading…
Reference in New Issue