diff --git a/lucene/demo/src/test/org/apache/lucene/demo/TestDemo.java b/lucene/demo/src/test/org/apache/lucene/demo/TestDemo.java index 8a2ad5073bd..da326951451 100644 --- a/lucene/demo/src/test/org/apache/lucene/demo/TestDemo.java +++ b/lucene/demo/src/test/org/apache/lucene/demo/TestDemo.java @@ -108,7 +108,7 @@ public class TestDemo extends LuceneTestCase { testVectorSearch(indexDir, "apache", 3, 4); testVectorSearch(indexDir, "gnu", 6, 7); testVectorSearch(indexDir, "derivative", 8, 9); - testVectorSearch(indexDir, "patent", 9, 10); + testVectorSearch(indexDir, "patent", 8, 9); testVectorSearch(indexDir, "license", 13, 14); // this matched 0 by token; semantic matching always adds one