Overload List
Name | Description | |
---|---|---|
![]() | Tf(Single) | Implemented as (Overrides Similarity..::..Tf(Single).)![]() sqrt(freq) |
![]() | Tf(Int32) | Computes a score factor based on a term or phrase's frequency in a
document. This value is multiplied by the {@link #Idf(Term, Searcher)}
factor for each term in the query and these products are then summed to
form the initial score for a document.
(Inherited from Similarity.)Terms and phrases repeated in a document indicate the topic of the document, so implementations of this method usually return larger values when ![]() freq ![]() freq The default implementation calls {@link #Tf(float)}. |