org.apache.lucene.search
public class SimilarityDelegator extends Similarity
| Constructor Summary | |
|---|---|
| SimilarityDelegator(Similarity delegee) Construct a Similarity that delegates all methods to another.
| |
| Method Summary | |
|---|---|
| float | coord(int overlap, int maxOverlap) |
| float | idf(int docFreq, int numDocs) |
| float | lengthNorm(String fieldName, int numTerms) |
| float | queryNorm(float sumOfSquaredWeights) |
| float | sloppyFreq(int distance) |
| float | tf(float freq) |
Parameters: delegee the Similarity implementation to delegate to