Class FetchSubPhase.HitContext

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

public static class FetchSubPhase.HitContext
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    HitContext()  
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​java.lang.Object> cache()  
    int docId()  
    SearchHit hit()  
    org.apache.lucene.index.LeafReader reader()  
    org.apache.lucene.index.LeafReaderContext readerContext()  
    void reset​(SearchHit hit, org.apache.lucene.index.LeafReaderContext context, int docId, org.apache.lucene.search.IndexSearcher searcher)  
    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 Details

  • Method Details

    • reset

      public void reset​(SearchHit hit, org.apache.lucene.index.LeafReaderContext context, int docId, org.apache.lucene.search.IndexSearcher searcher)
    • hit

      public SearchHit hit()
    • reader

      public org.apache.lucene.index.LeafReader reader()
    • readerContext

      public org.apache.lucene.index.LeafReaderContext readerContext()
    • docId

      public int docId()
    • topLevelReader

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

      public java.util.Map<java.lang.String,​java.lang.Object> cache()