FileDocCategorySizeDatePackage
ScoreDoc.javaAPI DocApache Lucene 2.1.01278Wed Feb 14 10:46:40 GMT 2007org.apache.lucene.search

ScoreDoc

public class ScoreDoc extends Object implements Serializable
Expert: Returned by low-level search implementations.
see
TopDocs

Fields Summary
public float
score
Expert: The score of this document for the query.
public int
doc
Expert: A hit document's number.
Constructors Summary
public ScoreDoc(int doc, float score)
Expert: Constructs a ScoreDoc.

    this.doc = doc;
    this.score = score;
  
Methods Summary