|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.lucene.search.Scorer
Expert: Implements scoring for a class of queries.
| Constructor Summary | |
protected |
Scorer(Similarity similarity)
Constructs a Scorer. |
| Method Summary | |
abstract Explanation |
explain(int doc)
Returns an explanation of the score for doc. |
Similarity |
getSimilarity()
Returns the Similarity implementation used by this scorer. |
abstract void |
score(HitCollector hc,
int maxDoc)
Scores hits and passes them to a collector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Scorer(Similarity similarity)
| Method Detail |
public Similarity getSimilarity()
public abstract void score(HitCollector hc,
int maxDoc)
throws IOException
maxDoc. If called repeatedly, will restart at point
where it last left off.
IOException
public abstract Explanation explain(int doc)
throws IOException
doc.
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||