Make idf(docFreq,numDocs) public instead of protected.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Cutting 2003-10-17 17:15:57 +00:00
parent 3fd7ec2679
commit 964c1b7ada
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ public abstract class Similarity {
* @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.