incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixed core keys so that they are provided by the underlying AtomicReader and not the filter.
Date Sat, 28 Dec 2013 12:49:13 GMT
Updated Branches:
  refs/heads/apache-blur-0.2 0e6db78b3 -> 366ad52a6


Fixed core keys so that they are provided by the underlying AtomicReader and not the filter.


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

Branch: refs/heads/apache-blur-0.2
Commit: 366ad52a6c3b08fb2db2b8ff5f5561ddf17cd17c
Parents: 0e6db78
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sat Dec 28 07:48:48 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sat Dec 28 07:48:48 2013 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/blur/index/ExitableReader.java  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/366ad52a/blur-store/src/main/java/org/apache/blur/index/ExitableReader.java
----------------------------------------------------------------------
diff --git a/blur-store/src/main/java/org/apache/blur/index/ExitableReader.java b/blur-store/src/main/java/org/apache/blur/index/ExitableReader.java
index a382049..57c0acd 100644
--- a/blur-store/src/main/java/org/apache/blur/index/ExitableReader.java
+++ b/blur-store/src/main/java/org/apache/blur/index/ExitableReader.java
@@ -70,7 +70,7 @@ public class ExitableReader extends FilterDirectoryReader {
       super(in);
       _running = running;
     }
-    
+
     public AtomicReader getOriginalReader() {
       return in;
     }
@@ -84,6 +84,15 @@ public class ExitableReader extends FilterDirectoryReader {
       return new ExitableFields(fields, _running);
     }
 
+    @Override
+    public Object getCoreCacheKey() {
+      return in.getCoreCacheKey();
+    }
+
+    @Override
+    public Object getCombinedCoreAndDeletesKey() {
+      return in.getCombinedCoreAndDeletesKey();
+    }
   }
 
   public static class ExitableFields extends Fields {


Mime
View raw message