incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Adding the segment warmer back in, wasn't suppose to be removed.
Date Thu, 24 Oct 2013 19:17:45 GMT
Updated Branches:
  refs/heads/apache-blur-0.2 aae10d8ec -> 5026bf027


Adding the segment warmer back in, wasn't suppose to be removed.


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

Branch: refs/heads/apache-blur-0.2
Commit: ee13498007a148e8d81070c84ab5bbba2ebe2f17
Parents: aae10d8
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Oct 24 15:08:24 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Oct 24 15:08:24 2013 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ee134980/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
index 5cf15e1..f6912f2 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
@@ -107,6 +107,7 @@ public class BlurNRTIndex extends BlurIndex {
     conf.setWriteLockTimeout(TimeUnit.MINUTES.toMillis(5));
     conf.setCodec(new Blur021Codec());
     conf.setSimilarity(_tableContext.getSimilarity());
+    conf.setMergedSegmentWarmer(new FieldBasedWarmer(shardContext, _isClosed));
 
     SnapshotDeletionPolicy sdp;
     if (snapshotsDirectoryExists()) {


Mime
View raw message