incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [02/28] git commit: Setting filter strategy for when read interceptor is set to select a major of documents.
Date Wed, 15 Jan 2014 22:03:25 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/3a24441b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/3a24441b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/3a24441b

Branch: refs/heads/master
Commit: 3a24441b08e66bb41c883b573ad86c3f228f15d9
Parents: 937dc01
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Jan 8 14:30:26 2014 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Jan 15 17:01:53 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/3a24441b/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