lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Similarity.java
Date Fri, 17 Oct 2003 17:15:57 GMT
cutting     2003/10/17 10:15:57

  Modified:    src/java/org/apache/lucene/search Similarity.java
  Log:
  Make idf(docFreq,numDocs) public instead of protected.
  
  Revision  Changes    Path
  1.10      +1 -1      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Similarity.java	18 Sep 2003 09:26:06 -0000	1.9
  +++ Similarity.java	17 Oct 2003 17:15:57 -0000	1.10
  @@ -321,7 +321,7 @@
      * @param numDocs the total number of documents in the collection
      * @return a score factor based on the term's document frequency
      */
  -  protected abstract float idf(int docFreq, int numDocs);
  +  public abstract float idf(int docFreq, int numDocs);
   
     /** Computes a score factor based on the fraction of all query terms that a
      * document contains.  This value is multiplied into scores.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message