incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/3] git commit: Ensuring that the similarity object is set the index searcher.
Date Tue, 03 Dec 2013 19:12:05 GMT
Ensuring that the similarity object is set the index searcher.


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

Branch: refs/heads/apache-blur-0.2
Commit: 18c331b130cdf632293f23631a9b8c53145a9ace
Parents: de59691
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Dec 3 13:25:16 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Dec 3 13:25:16 2013 -0500

----------------------------------------------------------------------
 .../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/18c331b1/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 76d7e58..f246416 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
@@ -246,6 +246,7 @@ public class BlurNRTIndex extends BlurIndex {
       ExitableReader er = (ExitableReader) indexReader;
       er.getRunning().set(true);
     }
+    indexSearcherClosable.setSimilarity(_tableContext.getSimilarity());
     return indexSearcherClosable;
   }
 


Mime
View raw message