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:02 GMT
Updated Branches:
  refs/heads/master cf91b59d1 -> 8950ddd82


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/8950ddd8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/8950ddd8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/8950ddd8

Branch: refs/heads/master
Commit: 8950ddd82e10fbfc499a7466e3998204c0b44be5
Parents: cf91b59
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:49:09 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/8950ddd8/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