lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject lucene-solr:master: WDF creates broken offsets
Date Thu, 22 Dec 2016 22:24:32 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master c0467bb92 -> fcde04ac7


WDF creates broken offsets


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/fcde04ac
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/fcde04ac
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/fcde04ac

Branch: refs/heads/master
Commit: fcde04ac733f3e9fc73e140f5f73d0f0af239019
Parents: c0467bb
Author: Mike McCandless <mikemccand@apache.org>
Authored: Thu Dec 22 17:23:42 2016 -0500
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Thu Dec 22 17:24:04 2016 -0500

----------------------------------------------------------------------
 .../analysis/miscellaneous/TestWordDelimiterFilter.java   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/fcde04ac/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestWordDelimiterFilter.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestWordDelimiterFilter.java
b/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestWordDelimiterFilter.java
index 580b17e..7f35298 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestWordDelimiterFilter.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/TestWordDelimiterFilter.java
@@ -340,7 +340,10 @@ public class TestWordDelimiterFilter extends BaseTokenStreamTestCase
{
         new String[] { "abc", "abcdef", "abcdef123456", "def", "123", "123456", "456" },

         new int[] { 0, 0, 0, 4, 8, 8, 12 }, 
         new int[] { 3, 7, 15, 7, 11, 15, 15 },
-        new int[] { 1, 0, 0, 1, 1, 0, 1 });
+        null,
+        new int[] { 1, 0, 0, 1, 1, 0, 1 },
+        null,
+        false);
     a.close();
   }
   
@@ -361,7 +364,10 @@ public class TestWordDelimiterFilter extends BaseTokenStreamTestCase
{
         new String[] { "abc-def-123-456", "abc", "abcdef", "abcdef123456", "def", "123",
"123456", "456" }, 
         new int[] { 0, 0, 0, 0, 4, 8, 8, 12 }, 
         new int[] { 15, 3, 7, 15, 7, 11, 15, 15 },
-        new int[] { 1, 0, 0, 0, 1, 1, 0, 1 });
+        null,
+        new int[] { 1, 0, 0, 0, 1, 1, 0, 1 },
+        null,
+        false);
     a.close();
   }
   


Mime
View raw message