From 899c3b1ec3a9d0898cba968599978aaa3bd1b50a Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Thu, 18 Sep 2003 09:26:06 +0000 Subject: [PATCH] add back javadoc needed import.... darn IDEA! git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150041 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/search/Similarity.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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()); * * - * 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