Skip to content

Apache Lucene open-source search software

minor javadoc fixes

Michael McCandless29124f644a3c
diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java
index 37cc14b4a0b..005fb4be594 100644
--- a/src/java/org/apache/lucene/index/IndexReader.java
+++ b/src/java/org/apache/lucene/index/IndexReader.java
@@ -557,11 +557,12 @@ public abstract class IndexReader {
}
/**
- * Return an array of term frequency vectors for the specified document.
- * The array contains a vector for each vectorized field in the document.
- * Each vector contains terms and frequencies for all terms in a given vectorized field.
- * If no such fields existed, the method returns null. The term vectors that are
- * returned my either be of type TermFreqVector or of type TermPositionsVector if
+ * Return an array of term frequency vectors for the specified document.
+ * The array contains a vector for each vectorized field in the document.
+ * Each vector contains terms and frequencies for all terms in a given vectorized field.
+ * If no such fields existed, the method returns null. The term vectors that are
+ * returned may either be of type {@link TermFreqVector}
+ * or of type {@link TermPositionVector} if
* positions or offsets have been stored.
*
* @param docNumber document for which term frequency vectors are returned
@@ -575,11 +576,11 @@ public abstract class IndexReader {
/**
- * Return a term frequency vector for the specified document and field. The
- * returned vector contains terms and frequencies for the terms in
- * the specified field of this document, if the field had the storeTermVector
- * flag set. If termvectors had been stored with positions or offsets, a
- * TermPositionsVector is returned.
+ * Return a term frequency vector for the specified document and field. The
+ * returned vector contains terms and frequencies for the terms in
+ * the specified field of this document, if the field had the storeTermVector
+ * flag set. If termvectors had been stored with positions or offsets, a
+ * {@link TermPositionVector} is returned.
*
* @param docNumber document for which the term frequency vector is returned
* @param field field for which the term frequency vector is returned.
diff --git a/src/java/org/apache/lucene/search/SpanFilterResult.java b/src/java/org/apache/lucene/search/SpanFilterResult.java
index 5052e93a55d..39a0b7bda6c 100644
--- a/src/java/org/apache/lucene/search/SpanFilterResult.java
+++ b/src/java/org/apache/lucene/search/SpanFilterResult.java
@@ -21,7 +21,7 @@ import java.util.List;
/**
- * The results of a SpanQueryFilter. Wraps the BitSet and the position infomration from the SpanQuery
+ * The results of a SpanQueryFilter. Wraps the BitSet and the position information from the SpanQuery
*
*<p/>
* NOTE: This API is still experimental and subject to change.