r13742 - search_server/trunk/index/src/main/java/org/musicbrainz/search/index

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

r13742 - search_server/trunk/index/src/main/java/org/musicbrainz/search/index

root-9
Author: ijabz
Date: 2014-04-25 14:02:01 +0000 (Fri, 25 Apr 2014)
New Revision: 13742

Modified:
   search_server/trunk/index/src/main/java/org/musicbrainz/search/index/IndexOptions.java
Log:
SEARCH-1412:Remove setMergeFactor option in IndexBuilder

Modified: search_server/trunk/index/src/main/java/org/musicbrainz/search/index/IndexOptions.java
===================================================================
--- search_server/trunk/index/src/main/java/org/musicbrainz/search/index/IndexOptions.java 2014-04-25 13:39:04 UTC (rev 13741)
+++ search_server/trunk/index/src/main/java/org/musicbrainz/search/index/IndexOptions.java 2014-04-25 14:02:01 UTC (rev 13742)
@@ -16,7 +16,6 @@
 
     // Lucene parameters
     public static final int MAX_BUFFERED_DOCS = 10000;
-    public static final int MERGE_FACTOR = 10;
 
     // PostgreSQL schema that holds MB data
  public static final String DB_SCHEMA = "musicbrainz";
@@ -101,11 +100,6 @@
     private boolean debug = false;
     public boolean isDebug() { return debug; }
 
-    // Merge Factor
-    @Option(name="--mergefactor", usage="The Merge factor used during Indexing. (default: "+MERGE_FACTOR+")")
-    private int mergeFactor = MERGE_FACTOR;
-    public int getMergeFactor() { return mergeFactor; }
-
     // Max Buffered Docs
     @Option(name="--maxbuffereddocs", usage="The Max Buffered docs before writing to index segment during Indexing. (default: "+MAX_BUFFERED_DOCS+")")
     private int maxBufferedDocs = MAX_BUFFERED_DOCS;


_______________________________________________
MusicBrainz-commits mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-commits