Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add back javadoc needed import.... darn IDEA!

Erik Hatcher899c3b1ec3a9
diff --git a/src/java/org/apache/lucene/search/Similarity.java b/src/java/org/apache/lucene/search/Similarity.java
index 59bf0a39183..20138679a0d 100644
--- a/src/java/org/apache/lucene/search/Similarity.java
+++ b/src/java/org/apache/lucene/search/Similarity.java
@@ -59,6 +59,7 @@ import java.util.Vector;
import org.apache.lucene.index.Term;
+import org.apache.lucene.index.IndexReader; // for javadoc
import org.apache.lucene.index.IndexWriter; // for javadoc
import org.apache.lucene.document.Field; // for javadoc
@@ -277,10 +278,10 @@ public abstract class Similarity {
* return idf(searcher.docFreq(term), searcher.maxDoc());
* </pre>
*
- * Note that {@link Searcher#maxDoc()} is used instead of {@link
- * IndexReader#numDocs()} because it is proportional to {@link
- * Searcher#docFreq(Term)} , i.e., when one is inaccurate, so is the other,
- * and in the same direction.
+ * Note that {@link Searcher#maxDoc()} is used instead of
+ * {@link IndexReader#numDocs()} because it is proportional to
+ * {@link Searcher#docFreq(Term)} , i.e., when one is inaccurate,
+ * so is the other, and in the same direction.
*
* @param term the term in question
* @param searcher the document collection being searched