Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fix javadoc/javadoc links in benchmark

Mark Robert Miller471ab5e2455a
diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentSource.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentSource.java
index 50674239da1..fc49e0657a4 100644
--- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentSource.java
+++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentSource.java
@@ -34,7 +34,7 @@ import org.apache.lucene.benchmark.byTask.utils.Config;
/**
* Represents content from a specified source, such as TREC, Reuters etc. A
* {@link ContentSource} is responsible for creating {@link DocData} objects for
- * its documents to be consumed by {@link ToDeleteDocMaker}. It also keeps track
+ * its documents to be consumed by {@link DocMaker}. It also keeps track
* of various statistics, such as how many documents were generated, size in
* bytes etc.
* <p>
diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/HTMLParser.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/HTMLParser.java
index 0155324b6bd..68c2709a370 100755
--- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/HTMLParser.java
+++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/HTMLParser.java
@@ -23,7 +23,7 @@ import java.text.DateFormat;
import java.util.Date;
/**
- * HTML Parsing Interfacew for test purposes
+ * HTML Parsing Interface for test purposes
*/
public interface HTMLParser {
@@ -44,7 +44,7 @@ public interface HTMLParser {
/**
* Parse the inputText and return DocData.
* @param inputText the html text to parse.
- * @see #parse(String, Date, Reader, DateFormat)
+ * @see {@link #parse(String, Date, Reader, DateFormat)}
*/
public DocData parse(DocData docData, String name, Date date, StringBuffer inputText, DateFormat dateFormat) throws IOException, InterruptedException;
diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/LineDocMaker.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/LineDocMaker.java
index a3f6f2ca66e..01d529db5ad 100644
--- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/LineDocMaker.java
+++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/LineDocMaker.java
@@ -17,14 +17,7 @@ package org.apache.lucene.benchmark.byTask.feeds;
* limitations under the License.
*/
-import java.util.Random;
-
import org.apache.lucene.benchmark.byTask.utils.Config;
-import org.apache.lucene.document.Document;
-import org.apache.lucene.document.Field;
-import org.apache.lucene.document.Field.Index;
-import org.apache.lucene.document.Field.Store;
-import org.apache.lucene.document.Field.TermVector;
/**
* A DocMaker reading one line at a time as a Document from a single file. This
@@ -34,7 +27,8 @@ import org.apache.lucene.document.Field.TermVector;
* The expected format of each line is (arguments are separated by &lt;TAB&gt;):
* <i>title, date, body</i>. If a line is read in a different format, a
* {@link RuntimeException} will be thrown. In general, you should use this doc
- * maker with files that were created with {@link WriteLineDocTask}.<br>
+ * maker with files that were created with
+ * {@link org.apache.lucene.benchmark.byTask.tasks.WriteLineDocTask}.<br>
* <br>
* Config properties:
* <ul>
diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SingleDocSource.java b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SingleDocSource.java
index 78189ccea86..04d7fce1241 100644
--- a/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SingleDocSource.java
+++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/SingleDocSource.java
@@ -20,7 +20,7 @@ import java.io.IOException;
*/
/**
- * Creates the same document each time {@link #getNextDocData()} is called.
+ * Creates the same document each time {@link #getNextDocData(DocData)} is called.
*/
public class SingleDocSource extends ContentSource {