incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixing issue with a failing test related to the updates to the parser that allow for proper analyzing of the input string in the query.
Date Tue, 22 Sep 2015 11:50:16 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master f8c45c380 -> e8171eb1c


Fixing issue with a failing test related to the updates to the parser that allow for proper
analyzing of the input string in the query.


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

Branch: refs/heads/master
Commit: e8171eb1ce6a184429a16b171437a5ba85a920f1
Parents: f8c45c3
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Sep 22 07:50:11 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Sep 22 07:50:11 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/blur/lucene/search/BlurQueryParser.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e8171eb1/blur-query/src/main/java/org/apache/blur/lucene/search/BlurQueryParser.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/BlurQueryParser.java b/blur-query/src/main/java/org/apache/blur/lucene/search/BlurQueryParser.java
index dd95aaa..d07fab8 100644
--- a/blur-query/src/main/java/org/apache/blur/lucene/search/BlurQueryParser.java
+++ b/blur-query/src/main/java/org/apache/blur/lucene/search/BlurQueryParser.java
@@ -313,7 +313,7 @@ public class BlurQueryParser extends QueryParser {
   }
 
   private boolean isEscaped(String text, int pos) {
-    if (pos == 0) {
+    if (pos <= 0) {
       return false;
     }
     return text.charAt(pos) == '\\';


Mime
View raw message