Skip to content

Apache Lucene open-source search software

fix queryparser docs (forrest error)

Uwe Schindlerdcdfb15193bf
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.html
index a90afa31290..08ef4a6ae88 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
@@ -68,7 +68,7 @@ enabling substantial customization to how a query is created.
<a href="#Boolean operators">Boolean Operators</a>
<ul class="minitoc">
<li>
-<a href="#OR"></a>
+<a href="#OR">OR</a>
</li>
<li>
<a href="#AND">AND</a>
@@ -235,7 +235,7 @@ enabling substantial customization to how a query is created.
<p>Boolean operators allow terms to be combined through logic operators.
Lucene supports AND, "+", OR, NOT and "-" as Boolean operators(Note: Boolean operators must be ALL CAPS).</p>
<a name="N10103"></a><a name="OR"></a>
-<h3 class="boxed"></h3>
+<h3 class="boxed">OR</h3>
<p>The OR operator is the default conjunction operator. This means that if there is no Boolean operator between two terms, the OR operator is used.
The OR operator links two terms and finds a matching document if either of the terms exist in a document. This is equivalent to a union using sets.
The symbol || can be used in place of the word OR.</p>