org.apache.lucene.search
Class ScoreDoc
java.lang.Object
org.apache.lucene.search.ScoreDoc
- java.io.Serializable
public class ScoreDoc
extends java.lang.Object
implements java.io.Serializable
Expert: Returned by low-level search implementations.
int | doc - Expert: A hit document's number.
|
float | score - Expert: The score of this document for the query.
|
ScoreDoc(int doc, float score) - Expert: Constructs a ScoreDoc.
|
doc
public int doc
Expert: A hit document's number.
score
public float score
Expert: The score of this document for the query.
ScoreDoc
public ScoreDoc(int doc,
float score)
Expert: Constructs a ScoreDoc.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.