incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [4/4] git commit: Fixed BLUR-286
Date Wed, 23 Oct 2013 14:34:40 GMT
Fixed BLUR-286


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/bce2c312
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/bce2c312
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/bce2c312

Branch: refs/heads/apache-blur-0.2
Commit: bce2c31202a66f7ef7b9226d8a08f9ff020fd6e6
Parents: 2d4acb3
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Oct 23 10:32:37 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Oct 23 10:32:37 2013 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/blur/lucene/warmup/IndexWarmup.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bce2c312/blur-store/src/main/java/org/apache/blur/lucene/warmup/IndexWarmup.java
----------------------------------------------------------------------
diff --git a/blur-store/src/main/java/org/apache/blur/lucene/warmup/IndexWarmup.java b/blur-store/src/main/java/org/apache/blur/lucene/warmup/IndexWarmup.java
index 21e6977..73f66ab 100644
--- a/blur-store/src/main/java/org/apache/blur/lucene/warmup/IndexWarmup.java
+++ b/blur-store/src/main/java/org/apache/blur/lucene/warmup/IndexWarmup.java
@@ -58,9 +58,8 @@ import org.apache.lucene.store.IndexOutput;
  */
 public class IndexWarmup {
 
-  private static final String SAMPLE_PREFIX = "sample";
   private static final Log LOG = LogFactory.getLog(IndexWarmup.class);
-  private static final String SAMPLE_EXT = ".spl";
+  private static final String SAMPLE_EXT = ".sample";
   private static final long _5_SECONDS = TimeUnit.SECONDS.toNanos(5);
   private static final int DEFAULT_THROTTLE = 2000000;
 
@@ -293,7 +292,7 @@ public class IndexWarmup {
   }
 
   public static String getSampleFileName(String segmentName) {
-    return SAMPLE_PREFIX + segmentName + SAMPLE_EXT;
+    return segmentName + SAMPLE_EXT;
   }
 
   private List<IndexTracerResult> read(IndexInput input) throws IOException {


Mime
View raw message