Example usage for Java org.apache.lucene.search.similarities TFIDFSimilarity fields, constructors, methods, implement or subclass
The text is from its open source code.
long | computeNorm(FieldInvertState state) |
float | idf(long docFreq, long docCount) Computes a score factor based on a term's document frequency (the number of documents which contain the term). |
float | tf(float freq) Computes a score factor based on a term or phrase's frequency in a document. |