From c1f32c4b3c5398e9ac50c322dc971d2267b2532d Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Tue, 30 Dec 2014 10:16:27 +0000 Subject: [PATCH] LUCENE-6143: Correct javadoc for surround query parser git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648497 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/queryparser/surround/parser/QueryParser.java | 2 +- .../apache/lucene/queryparser/surround/parser/QueryParser.jj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java b/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java index 1c429d68022..c2103022d85 100644 --- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java +++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java @@ -36,7 +36,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 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