Apache Lucene open-source search software
- Patched Javadocs. PR: Obtained from: Submitted by: Erik Hatcher Reviewed by:
Otis Gospodnetic9bd57fb82a74
diff --git a/src/java/org/apache/lucene/analysis/standard/ParseException.java b/src/java/org/apache/lucene/analysis/standard/ParseException.javaindex 856fe93656a..8fa1f391f3d 100644--- a/src/java/org/apache/lucene/analysis/standard/ParseException.java+++ b/src/java/org/apache/lucene/analysis/standard/ParseException.java@@ -22,7 +22,7 @@ public class ParseException extends java.io.IOException {* This constructor calls its super class with the empty string* to force the "toString" method of parent class "Throwable" to* print the error message in the form:- * ParseException: <result of getMessage>+ * ParseException: <result of getMessage>*/public ParseException(Token currentTokenVal,int[][] expectedTokenSequencesVal,diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.javaindex 78d29aa51eb..fdbd026ef3a 100644--- a/src/java/org/apache/lucene/index/IndexReader.java+++ b/src/java/org/apache/lucene/index/IndexReader.java@@ -69,7 +69,7 @@ import org.apache.lucene.document.Document;the static method {@link #open}.<p> For efficiency, in this API documents are often referred to via- <it>document numbers</it>, non-negative integers which each name a unique+ <i>document numbers</i>, non-negative integers which each name a uniquedocument in the index. These document numbers are ephemeral--they may changeas documents are added to and deleted from an index. Clients should thus notrely on a given document having the same number between sessions. */diff --git a/src/java/org/apache/lucene/queryParser/QueryParser.jj b/src/java/org/apache/lucene/queryParser/QueryParser.jjindex 3523e19a208..c3ba709a6da 100644--- a/src/java/org/apache/lucene/queryParser/QueryParser.jj+++ b/src/java/org/apache/lucene/queryParser/QueryParser.jj@@ -94,7 +94,7 @@ import org.apache.lucene.search.*;* Thus, in BNF, the query grammar is:* <pre>* Query ::= ( Clause )*- * Clause ::= ["+", "-"] [<TERM> ":"] ( <TERM> | "(" Query ")" )+ * Clause ::= ["+", "-"] [<TERM> ":"] ( <TERM> | "(" Query ")" )* </pre>** @author Brian Goetzdiff --git a/src/java/org/apache/lucene/search/BooleanClause.java b/src/java/org/apache/lucene/search/BooleanClause.javaindex b562a5ce928..831314f8a80 100644--- a/src/java/org/apache/lucene/search/BooleanClause.java+++ b/src/java/org/apache/lucene/search/BooleanClause.java@@ -59,10 +59,10 @@ public final class BooleanClause {/** The query whose matching documents are combined by the boolean query. */public Query query;/** If true, documents documents which <i>do not</i>- match this sub-query will <it>not</it> match the boolean query. */+ match this sub-query will <i>not</i> match the boolean query. */public boolean required = false;/** If true, documents documents which <i>do</i>- match this sub-query will <it>not</it> match the boolean query. */+ match this sub-query will <i>not</i> match the boolean query. */public boolean prohibited = false;/** Constructs a BooleanClause with query <code>q</code>, requireddiff --git a/src/java/org/apache/lucene/search/BooleanQuery.java b/src/java/org/apache/lucene/search/BooleanQuery.javaindex 1a3d77ab6ab..084219e4933 100644--- a/src/java/org/apache/lucene/search/BooleanQuery.java+++ b/src/java/org/apache/lucene/search/BooleanQuery.java@@ -70,9 +70,9 @@ final public class BooleanQuery extends Query {/** Adds a clause to a boolean query. Clauses may be:<ul><li><code>required</code> which means that documents which <i>do not</i>- match this sub-query will <it>not</it> match the boolean query;+ match this sub-query will <i>not</i> match the boolean query;<li><code>prohibited</code> which means that documents which <i>do</i>- match this sub-query will <it>not</it> match the boolean query; or+ match this sub-query will <i>not</i> match the boolean query; or<li>neither, in which case matched documents are neither prohibited fromnor required to match the sub-query.</ul>diff --git a/src/java/org/apache/lucene/search/IndexSearcher.java b/src/java/org/apache/lucene/search/IndexSearcher.javaindex 9744a704bcd..f5a9988d395 100644--- a/src/java/org/apache/lucene/search/IndexSearcher.java+++ b/src/java/org/apache/lucene/search/IndexSearcher.java@@ -138,7 +138,7 @@ public final class IndexSearcher extends Searcher {* <p>{@link HitCollector#collect(int,float)} is called for every non-zero* scoring document.*- * <p>Applications should only use this if they need <it>all</it> of the+ * <p>Applications should only use this if they need <i>all</i> of the* matching documents. The high-level search API ({@link* Searcher#search(Query)}) is usually more efficient, as it skips* non-high-scoring hits.diff --git a/src/java/org/apache/lucene/search/MultiSearcher.java b/src/java/org/apache/lucene/search/MultiSearcher.javaindex ec14aaa7414..da7fb1c59cc 100644--- a/src/java/org/apache/lucene/search/MultiSearcher.java+++ b/src/java/org/apache/lucene/search/MultiSearcher.java@@ -159,7 +159,7 @@ public final class MultiSearcher extends Searcher {* <p>{@link HitCollector#collect(int,float)} is called for every non-zero* scoring document.*- * <p>Applications should only use this if they need <it>all</it> of the+ * <p>Applications should only use this if they need <i>all</i> of the* matching documents. The high-level search API ({@link* Searcher#search(Query)}) is usually more efficient, as it skips* non-high-scoring hits.diff --git a/src/java/org/apache/lucene/search/Searcher.java b/src/java/org/apache/lucene/search/Searcher.javaindex 90d8bc7583a..d177d356699 100644--- a/src/java/org/apache/lucene/search/Searcher.java+++ b/src/java/org/apache/lucene/search/Searcher.java@@ -80,7 +80,7 @@ public abstract class Searcher {* <p>{@link HitCollector#collect(int,float)} is called for every non-zero* scoring document.*- * <p>Applications should only use this if they need <it>all</it> of the+ * <p>Applications should only use this if they need <i>all</i> of the* matching documents. The high-level search API ({@link* Searcher#search(Query)}) is usually more efficient, as it skips* non-high-scoring hits. */@@ -94,7 +94,7 @@ public abstract class Searcher {* <p>{@link HitCollector#collect(int,float)} is called for every non-zero* scoring document.*- * <p>Applications should only use this if they need <it>all</it> of the+ * <p>Applications should only use this if they need <i>all</i> of the* matching documents. The high-level search API ({@link* Searcher#search(Query)}) is usually more efficient, as it skips* non-high-scoring hits.diff --git a/src/java/org/apache/lucene/store/Lock.java b/src/java/org/apache/lucene/store/Lock.javaindex 46d8a03c0c6..8e14f7982f0 100644--- a/src/java/org/apache/lucene/store/Lock.java+++ b/src/java/org/apache/lucene/store/Lock.java@@ -60,7 +60,7 @@ import java.io.IOException;* <p>Typical use might look like:<pre>* new Lock.With(directory.makeLock("my.lock")) {* public Object doBody() {- * <it>... code to execute while locked ...</it>+ * <i>... code to execute while locked ...</i>* }* }.run();* </pre>@@ -93,7 +93,7 @@ public abstract class Lock {/** Code to execute with exclusive access. */protected abstract Object doBody() throws IOException;- /** Calls {@link #doBody} while <it>lock</it> is obtained. Blocks if lock+ /** Calls {@link #doBody} while <i>lock</i> is obtained. Blocks if lock* cannot be obtained immediately. Retries to obtain lock once per second* until it is obtained, or until it has tried ten times. */public Object run() throws IOException {