Revision: 17523
          http://sourceforge.net/p/gate/code/17523
Author:   markagreenwood
Date:     2014-03-04 10:53:29 +0000 (Tue, 04 Mar 2014)
Log Message:
-----------
fixed a long standing bug in the ANNIC query parser caused by a rogue ;

Modified Paths:
--------------
    gate/trunk/src/main/gate/creole/annic/lucene/QueryParser.java

Modified: gate/trunk/src/main/gate/creole/annic/lucene/QueryParser.java
===================================================================
--- gate/trunk/src/main/gate/creole/annic/lucene/QueryParser.java       
2014-03-04 08:00:35 UTC (rev 17522)
+++ gate/trunk/src/main/gate/creole/annic/lucene/QueryParser.java       
2014-03-04 10:53:29 UTC (rev 17523)
@@ -430,9 +430,7 @@
         if(i + 1 <= string.length() - 1) {
           char ch = string.charAt(i + 1);
           if(ch == ',' || ch == '.' || ch == '(' || ch == ')' || ch == '{'
-                  || ch == '}' || ch == '"')
-          ;
-          continue;
+                  || ch == '}' || ch == '"' || ch == '\\') continue;
         }
       }
       sb.append(string.charAt(i));

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to