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:
- 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 |
ShardFieldDoc
public ShardFieldDoc(SearchShardTarget shardTarget,
int doc,
float score)
ShardFieldDoc
public ShardFieldDoc(SearchShardTarget shardTarget,
int doc,
float score,
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
Copyright © 2009-2012. All Rights Reserved.