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: Setting filter strategy for when read interceptor is set to select a major of documents.
Date Fri, 10 Jan 2014 01:19:39 GMT
Setting filter strategy for when read interceptor is set to select a major of documents.


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

Branch: refs/heads/apache-blur-0.2
Commit: 82b200f7e710351d777a08c6e1d62001fb4ed6a9
Parents: 32e8ab7
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Jan 8 14:30:26 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Jan 8 14:30:26 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/lucene/search/SuperParser.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/82b200f7/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java b/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java
index 1082792..24992fc 100644
--- a/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java
+++ b/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java
@@ -152,7 +152,7 @@ public class SuperParser extends BlurQueryParser {
     if (_queryFilter == null) {
       return query;
     }
-    return new FilteredQuery(query, _queryFilter);
+    return new FilteredQuery(query, _queryFilter, FilteredQuery.LEAP_FROG_QUERY_FIRST_STRATEGY);
   }
 
   private Query replaceRealQueries(Query query, Map<String, Query> subQueries) {
@@ -180,7 +180,7 @@ public class SuperParser extends BlurQueryParser {
   }
 
   private QueryParser getNewParser() {
-    return new BlurQueryParser(_matchVersion, SUPER, _fieldNames,_fieldManager);
+    return new BlurQueryParser(_matchVersion, SUPER, _fieldNames, _fieldManager);
   }
 
   private Query reprocess(Query query) {


Mime
View raw message