public class ScoreDoc
extends
TopDocs
.Modifier and Type | Field and Description |
---|---|
int |
doc
A hit document's number.
|
float |
score
The score of this document for the query.
|
int |
shardIndex
|
Constructor and Description |
---|
ScoreDoc(int doc,
float score)
Constructs a ScoreDoc.
|
ScoreDoc(int doc,
float score,
int shardIndex)
Constructs a ScoreDoc.
|
Modifier and Type | Method and Description |
---|---|
|
toString() |
public float score
public int doc
IndexSearcher.doc(int)
public int shardIndex
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.