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

Branch: refs/heads/master
Commit: c07faa7d1b08ad162ed16ecd378e29bfe38ab25f
Parents: 867043e
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 14:14:54 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/c07faa7d/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