lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Similarity.java
Date Thu, 18 Sep 2003 09:26:06 GMT
ehatcher    2003/09/18 02:26:06

  Modified:    src/java/org/apache/lucene/search Similarity.java
  Log:
  add back javadoc needed import.... darn IDEA!
  
  Revision  Changes    Path
  1.9       +5 -4      jakarta-lucene/src/java/org/apache/lucene/search/Similarity.java
  
  Index: Similarity.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Similarity.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Similarity.java	13 Sep 2003 23:44:48 -0000	1.8
  +++ Similarity.java	18 Sep 2003 09:26:06 -0000	1.9
  @@ -59,6 +59,7 @@
   
   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 @@
      *   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
  
  
  

Mime
View raw message