incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [13/50] [abbrv] git commit: Fixed BLUR-286
Date Sun, 03 Nov 2013 15:20:07 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/839dc46a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/839dc46a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/839dc46a

Branch: refs/heads/0.3.0-lucene-upgrade
Commit: 839dc46ace517dd9acefda581ec37c36f9e1278f
Parents: 1ba2218
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:34:12 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/839dc46a/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