Apache Solr open-source search software
LUCENE-4718: Fix documentation of oal.queryparser.classic.
Adrien Grande1e1e2c570ed
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex ccd4a69755e..bd6f0ae15fd 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -139,6 +139,11 @@ Bug Fixes* LUCENE-4739: Fixed bugs that prevented FSTs more than ~1.1GB frombeing saved and loaded (Adrien Grand, Mike McCandless)+Documentation++* LUCENE-4718: Fixed documentation of oal.queryparser.classic.+ (Hayden Muhl via Adrien Grand)+Build* LUCENE-4636: Upgrade ivy to 2.3.0 (Shawn Heisey via Robert Muir)diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/package.html b/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/package.htmlindex 607e7505603..490f6dfec28 100644--- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/package.html+++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/package.html@@ -167,11 +167,11 @@ enabling substantial customization to how a query is created.If you want to find the document entitled "The Right Way" which contains the text "don't go this way", you can enter: </p><pre class="code">title:"The Right Way" AND text:go</pre><p>or</p>-<pre class="code">title:"Do it right" AND right</pre>+<pre class="code">title:"The Right Way" AND go</pre><p>Since text is the default field, the field indicator is not required.</p><p>Note: The field is only valid for the term that it directly precedes, so the query</p>-<pre class="code">title:Do it right</pre>-<p>Will only find "Do" in the title field. It will find "it" and "right" in the default field (in this case the text field). </p>+<pre class="code">title:The Right Way</pre>+<p>Will only find "The" in the title field. It will find "Right" and "Way" in the default field (in this case the text field). </p></div>