lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index IndexWriter.java
Date Wed, 24 Mar 2004 18:10:59 GMT
cutting     2004/03/24 10:10:59

  Modified:    .        CHANGES.txt
               src/java/org/apache/lucene/index IndexWriter.java
  Log:
  Changed the default index format to be compound.
  
  Revision  Changes    Path
  1.78      +5 -1      jakarta-lucene/CHANGES.txt
  
  Index: CHANGES.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/CHANGES.txt,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- CHANGES.txt	24 Mar 2004 10:12:27 -0000	1.77
  +++ CHANGES.txt	24 Mar 2004 18:10:59 -0000	1.78
  @@ -75,6 +75,10 @@
       http://issues.apache.org/bugzilla/show_bug.cgi?id=27491
       (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.26      +4 -3      jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java
  
  Index: IndexWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- IndexWriter.java	18 Mar 2004 19:51:24 -0000	1.25
  +++ IndexWriter.java	24 Mar 2004 18:10:59 -0000	1.26
  @@ -112,10 +112,11 @@
   
     private Lock writeLock;
   
  -  /** Use compound file setting. Defaults to false to maintain multiple files
  -   *  per segment behavior.
  +  /** Use compound file setting. Defaults to true, minimizing the number of
  +   * 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
  
  
  

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


Mime
View raw message