public class ScoreDoc
extends java.lang.Object
implements java.io.Serializable
TopDocs
,
Serialized FormModifier and Type | Field and Description |
---|---|
int |
doc
Expert: A hit document's number.
|
float |
score
Expert: The score of this document for the query.
|
Constructor and Description |
---|
ScoreDoc(int doc,
float score)
Expert: Constructs a ScoreDoc.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public float score
public int doc
Searcher.doc(int)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.