|
| lengthNorm ($fieldName, $numTerms) |
| Implemented as '1/sqrt(numTerms)'.
|
|
| queryNorm ($sumOfSquaredWeights) |
| Implemented as '1/sqrt(sumOfSquaredWeights)'.
|
|
| tf ($freq) |
| Implemented as 'sqrt(freq)'.
|
|
| sloppyFreq ($distance) |
| Implemented as '1/(distance + 1)'.
|
|
| idfFreq ($docFreq, $numDocs) |
| Implemented as 'log(numDocs/(docFreq+1)) + 1'.
|
|
| coord ($overlap, $maxOverlap) |
| Implemented as 'overlap/maxOverlap'.
|
|
| lengthNorm ($fieldName, $numTokens) |
| Computes the normalization value for a field given the total number of terms contained in a field.
|
|
| queryNorm ($sumOfSquaredWeights) |
| Computes the normalization value for a query given the sum of the squared weights of each of the query terms.
|
|
| tf ($freq) |
| Computes a score factor based on a term or phrase's frequency in a document.
|
|
| sloppyFreq ($distance) |
| Computes the amount of a sloppy phrase match, based on an edit distance.
|
|
| idf ($input, Zend_Search_Lucene_Interface $reader) |
| Computes a score factor for a simple term or a phrase.
|
|
| idfFreq ($docFreq, $numDocs) |
| Computes a score factor based on a term's document frequency (the number of documents which contain the term).
|
|
| coord ($overlap, $maxOverlap) |
| Computes a score factor based on the fraction of all query terms that a document contains.
|
|