public abstract static class Similarity.ExactSimScorer extends Object
TermQuery
and
exact PhraseQuery
.
Frequencies are integers (the term or phrase frequency within the document)
Constructor and Description |
---|
Similarity.ExactSimScorer()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(int doc,
Explanation freq)
Explain the score for a single document
|
abstract float |
score(int doc,
int freq)
Score a single document
|
public Similarity.ExactSimScorer()
public abstract float score(int doc, int freq)
doc
- document idfreq
- term frequencypublic Explanation explain(int doc, Explanation freq)
doc
- document idfreq
- Explanation of how the term frequency was computedCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.