Skip to content

Apache Lucene open-source search software

fix a bunch of unbalanced tags (cannot yet commit checker, java6 makes all kinds of bogus html)

Robert Muir9a1ef9299df4
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html
index 9935890da58..176d74d6718 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/package.html
@@ -20,11 +20,6 @@
<TITLE>org.apache.lucene.analysis.payloads</TITLE>
</HEAD>
<BODY>
-<DIV>Provides various convenience classes for creating payloads on Tokens.
-</DIV>
-<DIV>&nbsp;</DIV>
-<DIV align="center">
-Copyright &copy; 2007 <A HREF="http://www.apache.org">Apache Software Foundation</A>
-</DIV>
+Provides various convenience classes for creating payloads on Tokens.
</BODY>
</HTML>
\ No newline at end of file
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html b/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html
index 33d5be61f2b..9ce0655624a 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/sinks/package.html
@@ -16,32 +16,10 @@
limitations under the License.
-->
<HTML>
- <!--
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- --><HEAD>
- <TITLE>org.apache.lucene.analysis.sinks</TITLE>
+<HEAD>
+ <TITLE>org.apache.lucene.analysis.sinks</TITLE>
</HEAD>
<BODY>
-<DIV>Implementations of the SinkTokenizer that might be useful.
-</DIV>
-<DIV>&nbsp;</DIV>
-<DIV align="center">
-Copyright &copy; 2007 <A HREF="http://www.apache.org">Apache Software Foundation</A>
-</DIV>
+Implementations of the SinkTokenizer that might be useful.
</BODY>
</HTML>
\ No newline at end of file
diff --git a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java
index 0e8a94bc598..658cfac9ddf 100644
--- a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java
+++ b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java
@@ -41,12 +41,12 @@ import org.apache.lucene.analysis.util.TokenFilterFactory;
* <p>
* This takes one required argument, "encoder", and the rest are optional:
* <dl>
- * <dt>encoder<dd> required, one of "DoubleMetaphone", "Metaphone", "Soundex", "RefinedSoundex", "Caverphone" (v2.0),
+ * <dt>encoder</dt><dd> required, one of "DoubleMetaphone", "Metaphone", "Soundex", "RefinedSoundex", "Caverphone" (v2.0),
* or "ColognePhonetic" (case insensitive). If encoder isn't one of these, it'll be resolved as a class name either by
- * itself if it already contains a '.' or otherwise as in the same package as these others.
- * <dt>inject<dd> (default=true) add tokens to the stream with the offset=0
- * <dt>maxCodeLength<dd>The maximum length of the phonetic codes, as defined by the encoder. If an encoder doesn't
- * support this then specifying this is an error.
+ * itself if it already contains a '.' or otherwise as in the same package as these others.</dd>
+ * <dt>inject</dt><dd> (default=true) add tokens to the stream with the offset=0</dd>
+ * <dt>maxCodeLength</dt><dd>The maximum length of the phonetic codes, as defined by the encoder. If an encoder doesn't
+ * support this then specifying this is an error.</dd>
* </dl>
*
* <pre class="prettyprint" >
diff --git a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/package.html b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/package.html
index fcd6f463d78..e4eeb7fa7e7 100644
--- a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/package.html
+++ b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/package.html
@@ -19,11 +19,7 @@
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
-<div>
SmartChineseAnalyzer Hidden Markov Model package.
-</div>
-<div>
@lucene.experimental
-</div>
</body>
</html>
diff --git a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/package.html b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/package.html
index 31ea96e951a..cc9b8c179f3 100644
--- a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/package.html
+++ b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/package.html
@@ -20,12 +20,8 @@
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
-<div>
Analyzer for Simplified Chinese, which indexes words.
-</div>
-<div>
@lucene.experimental
-</div>
<div>
Three analyzers are provided for Chinese, each of which treats Chinese text in a different way.
<ul>
diff --git a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html
index b92da02b171..783e561dcd4 100644
--- a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html
+++ b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package.html
@@ -20,8 +20,8 @@
<TITLE>Benchmarking Lucene By Tasks</TITLE>
</HEAD>
<BODY>
-<DIV>
Benchmarking Lucene By Tasks.
+<DIV>
<p>
This package provides "task based" performance benchmarking of Lucene.
One can use the predefined benchmarks, or create new ones.
@@ -251,7 +251,7 @@ The following is an informal description of the supported syntax.
fixed, so for deletion in loops it is better to use the
<code>doc.delete.step</code> property.
</li>
- <li><b>SetProp</b> takes a <code>name,value<code> mandatory param,
+ <li><b>SetProp</b> takes a <code>name,value</code> mandatory param,
',' used as a separator.
</li>
<li><b>SearchTravRetTask</b> and <b>SearchTravTask</b> take a numeric
diff --git a/lucene/benchmark/src/java/org/apache/lucene/benchmark/package.html b/lucene/benchmark/src/java/org/apache/lucene/benchmark/package.html
index dc28bc83d33..2daf1865fd4 100644
--- a/lucene/benchmark/src/java/org/apache/lucene/benchmark/package.html
+++ b/lucene/benchmark/src/java/org/apache/lucene/benchmark/package.html
@@ -20,9 +20,10 @@
<TITLE>Lucene Benchmarking Package</TITLE>
</HEAD>
<BODY>
+The benchmark contribution contains tools for benchmarking Lucene using standard, freely available corpora.
<DIV>
- <p/>
- The benchmark contribution contains tools for benchmarking Lucene using standard, freely available corpora. ANT will
+<p/>
+ ANT will
download the corpus automatically, place it in a temp directory and then unpack it to the working.dir directory specified in the build.
The temp directory
and working directory can be safely removed after a run. However, the next time the task is run, it will need to download the files again.
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/package.html b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/package.html
index 2f5df3f1434..659a6259a44 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene40/package.html
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene40/package.html
@@ -27,20 +27,21 @@ Lucene 4.0 file format.
<ul>
<li><a href="#Introduction">Introduction</a></li>
<li><a href="#Definitions">Definitions</a>
-<ul>
-<li><a href="#Inverted_Indexing">Inverted Indexing</a></li>
-<li><a href="#Types_of_Fields">Types of Fields</a></li>
-<li><a href="#Segments">Segments</a></li>
-<li><a href="#Document_Numbers">Document Numbers</a></li>
-</ul>
+ <ul>
+ <li><a href="#Inverted_Indexing">Inverted Indexing</a></li>
+ <li><a href="#Types_of_Fields">Types of Fields</a></li>
+ <li><a href="#Segments">Segments</a></li>
+ <li><a href="#Document_Numbers">Document Numbers</a></li>
+ </ul>
</li>
<li><a href="#Overview">Index Structure Overview</a></li>
<li><a href="#File_Naming">File Naming</a></li>
<li><a href="#file-names">Summary of File Extensions</a></li>
-<ul>
-<li><a href="#Lock_File">Lock File</a></li>
-<li><a href="#History">History</a></li>
-<li><a href="#Limitations">Limitations</a></li>
+ <ul>
+ <li><a href="#Lock_File">Lock File</a></li>
+ <li><a href="#History">History</a></li>
+ <li><a href="#Limitations">Limitations</a></li>
+ </ul>
</ul>
</div>
<a name="Introduction"></a>
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/package.html b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/package.html
index 14782803a1c..af5cb057d8a 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene41/package.html
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene41/package.html
@@ -27,20 +27,21 @@ Lucene 4.1 file format.
<ul>
<li><a href="#Introduction">Introduction</a></li>
<li><a href="#Definitions">Definitions</a>
-<ul>
-<li><a href="#Inverted_Indexing">Inverted Indexing</a></li>
-<li><a href="#Types_of_Fields">Types of Fields</a></li>
-<li><a href="#Segments">Segments</a></li>
-<li><a href="#Document_Numbers">Document Numbers</a></li>
-</ul>
+ <ul>
+ <li><a href="#Inverted_Indexing">Inverted Indexing</a></li>
+ <li><a href="#Types_of_Fields">Types of Fields</a></li>
+ <li><a href="#Segments">Segments</a></li>
+ <li><a href="#Document_Numbers">Document Numbers</a></li>
+ </ul>
</li>
<li><a href="#Overview">Index Structure Overview</a></li>
<li><a href="#File_Naming">File Naming</a></li>
<li><a href="#file-names">Summary of File Extensions</a></li>
-<ul>
-<li><a href="#Lock_File">Lock File</a></li>
-<li><a href="#History">History</a></li>
-<li><a href="#Limitations">Limitations</a></li>
+ <ul>
+ <li><a href="#Lock_File">Lock File</a></li>
+ <li><a href="#History">History</a></li>
+ <li><a href="#Limitations">Limitations</a></li>
+ </ul>
</ul>
</div>
<a name="Introduction"></a>
diff --git a/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java b/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java
index cccd1f4a9bd..a326c8ef6b4 100644
--- a/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java
+++ b/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java
@@ -83,7 +83,7 @@ public abstract class DocIdSet {
* should be cached without copying it into a BitSet. The default is to return
* <code>false</code>. If you have an own <code>DocIdSet</code> implementation
* that does its iteration very effective and fast without doing disk I/O,
- * override this method and return <code>true</here>.
+ * override this method and return <code>true</code>.
*/
public boolean isCacheable() {
return false;
diff --git a/lucene/core/src/java/org/apache/lucene/search/SearcherLifetimeManager.java b/lucene/core/src/java/org/apache/lucene/search/SearcherLifetimeManager.java
index ce5467674f5..deb0ce70a7c 100644
--- a/lucene/core/src/java/org/apache/lucene/search/SearcherLifetimeManager.java
+++ b/lucene/core/src/java/org/apache/lucene/search/SearcherLifetimeManager.java
@@ -289,7 +289,7 @@ public class SearcherLifetimeManager implements Closeable {
* should still call {@link #release} after they are
* done.
*
- * <p><b>NOTE: you must ensure no other threads are
+ * <p><b>NOTE</b>: you must ensure no other threads are
* calling {@link #record} while you call close();
* otherwise it's possible not all searcher references
* will be freed. */
diff --git a/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html b/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html
index 4286dd9b72c..e6f309a8c84 100755
--- a/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html
+++ b/lucene/facet/src/java/org/apache/lucene/facet/doc-files/userguide.html
@@ -134,6 +134,7 @@ table.code_description td {
<li class="toc_first"><a href="#optimizations">Optimizations</a></li>
<li class="toc_first"><a href="#concurrent_indexing_search">Concurrent Indexing and Search</a></li>
</ol>
+</div>
<h1 class="section"><a name="intro">Introduction</a></h1>
<p>
diff --git a/lucene/facet/src/java/org/apache/lucene/util/encoding/ChunksIntEncoder.java b/lucene/facet/src/java/org/apache/lucene/util/encoding/ChunksIntEncoder.java
index a9c10d92e09..c640c53b6cc 100644
--- a/lucene/facet/src/java/org/apache/lucene/util/encoding/ChunksIntEncoder.java
+++ b/lucene/facet/src/java/org/apache/lucene/util/encoding/ChunksIntEncoder.java
@@ -47,7 +47,7 @@ import java.io.OutputStream;
* manner: <code><pre class="prettyprint">
* IntEncoder fourFlags =
* new SortingEncoderFilter(new UniqueValuesIntEncoder(new DGapIntEncoder(new FlagsIntEncoderImpl())));
- * </code></pre>
+ * </pre></code>
*
* @lucene.experimental
*/
diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
index 4461b208d1c..f803dd79cdb 100644
--- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
+++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
@@ -98,6 +98,7 @@ import org.apache.lucene.util.fst.Util;
*
* <li> Lookups with the empty string return no results
* instead of all results.
+ * </ul>
*
* @lucene.experimental
*/
diff --git a/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilter.java b/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilter.java
index c1a9794120d..79620d2fe85 100644
--- a/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilter.java
+++ b/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilter.java
@@ -27,7 +27,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
* This class produces a special form of reversed tokens, suitable for
* better handling of leading wildcards. Tokens from the input TokenStream
* are reversed and prepended with a special "reversed" marker character.
- * If <code>withOriginal<code> argument is <code>true</code> then first the
+ * If <code>withOriginal</code> argument is <code>true</code> then first the
* original token is returned, and then the reversed token (with
* <code>positionIncrement == 0</code>) is returned. Otherwise only reversed
* tokens are returned.
diff --git a/solr/core/src/java/org/apache/solr/core/RequestHandlers.java b/solr/core/src/java/org/apache/solr/core/RequestHandlers.java
index 1246ef09f1c..96b5fa8b501 100644
--- a/solr/core/src/java/org/apache/solr/core/RequestHandlers.java
+++ b/solr/core/src/java/org/apache/solr/core/RequestHandlers.java
@@ -189,8 +189,8 @@ public final class RequestHandlers {
/**
- * The <code>LazyRequestHandlerWrapper</core> wraps any {@link SolrRequestHandler}.
- * Rather then instanciate and initalize the handler on startup, this wrapper waits
+ * The <code>LazyRequestHandlerWrapper</code> wraps any {@link SolrRequestHandler}.
+ * Rather then instantiate and initialize the handler on startup, this wrapper waits
* until it is actually called. This should only be used for handlers that are
* unlikely to be used in the normal lifecycle.
*