From c1f32c4b3c5398e9ac50c322dc971d2267b2532d Mon Sep 17 00:00:00 2001
From: Erik Hatcher
The W and N operators express a positional relationship among their - * operands. N is ordered, and W is unordered. The distance is 1 by + * operands. W is ordered, and N is unordered. The distance is 1 by * default, meaning the operands are adjacent, or may be provided as a * prefix from 2-99. So, for example, 3W(a, b) means that terms a and b * must appear within three positions of each other, or in other words, up diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj b/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj index 1b07ffd47f5..f1d13b7de1a 100644 --- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj +++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj @@ -65,7 +65,7 @@ import org.apache.lucene.queryparser.surround.query.SrndTruncQuery; * c) notation.
*The W and N operators express a positional relationship among their - * operands. N is ordered, and W is unordered. The distance is 1 by + * operands. W is ordered, and N is unordered. The distance is 1 by * default, meaning the operands are adjacent, or may be provided as a * prefix from 2-99. So, for example, 3W(a, b) means that terms a and b * must appear within three positions of each other, or in other words, up