org.elasticsearch.search.controller
Class ShardFieldDoc
java.lang.Object
org.apache.lucene.search.ScoreDoc
org.apache.lucene.search.FieldDoc
org.elasticsearch.search.controller.ShardFieldDoc
- All Implemented Interfaces:
- java.io.Serializable, ShardDoc
public class ShardFieldDoc
- extends org.apache.lucene.search.FieldDoc
- implements ShardDoc
- See Also:
- Serialized Form
Fields inherited from class org.apache.lucene.search.FieldDoc |
fields |
Fields inherited from class org.apache.lucene.search.ScoreDoc |
doc, score, shardIndex |
Methods inherited from class org.apache.lucene.search.FieldDoc |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ShardFieldDoc
public ShardFieldDoc(SearchShardTarget shardTarget,
int doc,
float score)
ShardFieldDoc
public ShardFieldDoc(SearchShardTarget shardTarget,
int doc,
float score,
java.lang.Object[] fields)
shardTarget
public SearchShardTarget shardTarget()
- Specified by:
shardTarget
in interface ShardDoc
docId
public int docId()
- Specified by:
docId
in interface ShardDoc
score
public float score()
- Specified by:
score
in interface ShardDoc