incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Removing code that should not have been committed.
Date Tue, 13 Aug 2013 13:46:09 GMT
Updated Branches:
  refs/heads/master 4252e8f66 -> db3a0eba3


Removing code that should not have been committed.


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

Branch: refs/heads/master
Commit: db3a0eba35655cfb351e3e28165576e9373311be
Parents: 4252e8f
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Aug 13 09:45:31 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Aug 13 09:45:31 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/db3a0eba/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 811d265..993074a 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
@@ -34,7 +34,6 @@ import org.apache.blur.log.LogFactory;
 import org.apache.blur.lucene.store.refcounter.DirectoryReferenceCounter;
 import org.apache.blur.lucene.store.refcounter.DirectoryReferenceFileGC;
 import org.apache.blur.lucene.store.refcounter.IndexInputCloser;
-import org.apache.blur.lucene.warmup.IndexWarmupIndexDeletionPolicy;
 import org.apache.blur.lucene.warmup.TraceableDirectory;
 import org.apache.blur.server.IndexSearcherClosable;
 import org.apache.blur.server.IndexSearcherClosableNRT;
@@ -89,7 +88,7 @@ public class BlurNRTIndex extends BlurIndex {
     IndexWriterConfig conf = new IndexWriterConfig(LUCENE_VERSION, analyzer);
     conf.setWriteLockTimeout(TimeUnit.MINUTES.toMillis(5));
     conf.setSimilarity(_tableContext.getSimilarity());
-    conf.setIndexDeletionPolicy(new IndexWarmupIndexDeletionPolicy(_tableContext.getIndexDeletionPolicy()));
+    conf.setIndexDeletionPolicy(_tableContext.getIndexDeletionPolicy());
     conf.setMergedSegmentWarmer(new FieldBasedWarmer(shardContext, _isClosed));
 
     TieredMergePolicy mergePolicy = (TieredMergePolicy) conf.getMergePolicy();


Mime
View raw message