incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [18/50] [abbrv] git commit: Adding the segment warmer back in, wasn't suppose to be removed.
Date Sun, 03 Nov 2013 15:20:12 GMT
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/11796bf6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/11796bf6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/11796bf6

Branch: refs/heads/0.3.0-lucene-upgrade
Commit: 11796bf6d0696116ea008b1412e5ac633c776d29
Parents: 8424d1e
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:18:16 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/11796bf6/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