org.elasticsearch.search.fetch
Class FetchSubPhase.HitContext

java.lang.Object
  extended by org.elasticsearch.search.fetch.FetchSubPhase.HitContext
Enclosing interface:
FetchSubPhase

public static class FetchSubPhase.HitContext
extends Object


Constructor Summary
FetchSubPhase.HitContext()
           
 
Method Summary
 Map<String,Object> cache()
           
 org.apache.lucene.document.Document doc()
           
 int docId()
           
 InternalSearchHit hit()
           
 org.apache.lucene.index.IndexReader reader()
           
 void reset(InternalSearchHit hit, org.apache.lucene.index.IndexReader reader, int docId, org.apache.lucene.index.IndexReader topLevelReader, int topLevelDocId, org.apache.lucene.document.Document doc)
           
 int topLevelDocId()
           
 org.apache.lucene.index.IndexReader topLevelReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchSubPhase.HitContext

public FetchSubPhase.HitContext()
Method Detail

reset

public void reset(InternalSearchHit hit,
                  org.apache.lucene.index.IndexReader reader,
                  int docId,
                  org.apache.lucene.index.IndexReader topLevelReader,
                  int topLevelDocId,
                  org.apache.lucene.document.Document doc)

hit

public InternalSearchHit hit()

reader

public org.apache.lucene.index.IndexReader reader()

docId

public int docId()

topLevelReader

public org.apache.lucene.index.IndexReader topLevelReader()

topLevelDocId

public int topLevelDocId()

doc

public org.apache.lucene.document.Document doc()

cache

public Map<String,Object> cache()


Copyright © 2009-2012. All Rights Reserved.