org.elasticsearch.search.controller
Class ShardScoreDoc

java.lang.Object
  extended by org.apache.lucene.search.ScoreDoc
      extended by org.elasticsearch.search.controller.ShardScoreDoc
All Implemented Interfaces:
Serializable, ShardDoc

public class ShardScoreDoc
extends org.apache.lucene.search.ScoreDoc
implements ShardDoc

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.lucene.search.ScoreDoc
doc, score, shardIndex
 
Constructor Summary
ShardScoreDoc(SearchShardTarget shardTarget, int doc, float score)
           
 
Method Summary
 int docId()
           
 float score()
           
 SearchShardTarget shardTarget()
           
 
Methods inherited from class org.apache.lucene.search.ScoreDoc
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShardScoreDoc

public ShardScoreDoc(SearchShardTarget shardTarget,
                     int doc,
                     float score)
Method Detail

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.