FileDocCategorySizeDatePackage
ScoreDoc.javaAPI DocApache Lucene 1.4.31090Tue Mar 30 00:48:04 BST 2004org.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