Apache Lucene open-source search software
Typo.
Dawid Weiss90b9f7cbe2ac
diff --git a/modules/suggest/src/java/org/apache/lucene/search/suggest/fst/FSTLookup.java b/modules/suggest/src/java/org/apache/lucene/search/suggest/fst/FSTLookup.javaindex a7c4e498d62..dc96e6a0344 100644--- a/modules/suggest/src/java/org/apache/lucene/search/suggest/fst/FSTLookup.java+++ b/modules/suggest/src/java/org/apache/lucene/search/suggest/fst/FSTLookup.java@@ -339,7 +339,7 @@ public class FSTLookup extends Lookup {// so we will collect it too.output.setLength(matchLength);if (collect(res, num, weight, output, arc) && greedy) {- // We have enough suggestion to return immediately. Keep on looking for an+ // We have enough suggestions to return immediately. Keep on looking for an// exact match, if requested.if (exactMatchFirst) {Float exactMatchWeight = getExactMatchStartingFromRootArc(i, key);