org.apache.lucene.search

Class ScoreDoc

public class ScoreDoc extends Object implements Serializable

Expert: Returned by low-level search implementations.

See Also: TopDocs

Field Summary
intdoc
Expert: A hit document's number.
floatscore
Expert: The score of this document for the query.
Constructor Summary
ScoreDoc(int doc, float score)
Expert: Constructs a ScoreDoc.

Field Detail

doc

public int doc
Expert: A hit document's number.

See Also: Searcher

score

public float score
Expert: The score of this document for the query.

Constructor Detail

ScoreDoc

public ScoreDoc(int doc, float score)
Expert: Constructs a ScoreDoc.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.