org.elasticsearch.search.controller
Class ShardFieldDoc

java.lang.Object
  extended by org.apache.lucene.search.ScoreDoc
      extended by org.apache.lucene.search.FieldDoc
          extended by 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

Field Summary
 
Fields inherited from class org.apache.lucene.search.FieldDoc
fields
 
Fields inherited from class org.apache.lucene.search.ScoreDoc
doc, score, shardIndex
 
Constructor Summary
ShardFieldDoc(SearchShardTarget shardTarget, int doc, float score)
           
ShardFieldDoc(SearchShardTarget shardTarget, int doc, float score, Object[] fields)
           
 
Method Summary
 int docId()
           
 float score()
           
 SearchShardTarget shardTarget()
           
 
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
 

Constructor Detail

ShardFieldDoc

public ShardFieldDoc(SearchShardTarget shardTarget,
                     int doc,
                     float score)

ShardFieldDoc

public ShardFieldDoc(SearchShardTarget shardTarget,
                     int doc,
                     float score,
                     Object[] fields)
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.