Author: ssmiweve
Date: 2008-04-21 13:33:22 +0200 (Mon, 21 Apr 2008)
New Revision: 6509

Modified:
   
branches/2.17/query-api/src/main/java/no/sesat/search/query/token/VeryFastTokenEvaluator.java
Log:
SEARCH-4581 - Geo-ord med bindestrek har sluttet ?\195?\165 splitte korrekt

Modified: 
branches/2.17/query-api/src/main/java/no/sesat/search/query/token/VeryFastTokenEvaluator.java
===================================================================
--- 
branches/2.17/query-api/src/main/java/no/sesat/search/query/token/VeryFastTokenEvaluator.java
       2008-04-21 10:25:37 UTC (rev 6508)
+++ 
branches/2.17/query-api/src/main/java/no/sesat/search/query/token/VeryFastTokenEvaluator.java
       2008-04-21 11:33:22 UTC (rev 6509)
@@ -527,7 +527,7 @@
 
         return string
                 .replaceAll(" ", "xxKEEPWSxx") // Hack to keep spaces.
-                .replaceAll(SKIP_REGEX, "")
+                .replaceAll(SKIP_REGEX, " ")
                 .replaceAll("xxKEEPWSxx", " ") // Hack to keep spaces.
                 .replaceAll(OPERATOR_REGEX, " ");
     }

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to