public static class FetchSubPhase.HitContext extends Object
Constructor and Description |
---|
HitContext() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
cache() |
int |
docId() |
String |
getSourcePath(String sourcePath) |
InternalSearchHit |
hit() |
org.apache.lucene.index.LeafReader |
reader() |
org.apache.lucene.index.LeafReaderContext |
readerContext() |
void |
reset(InternalSearchHit hit,
org.apache.lucene.index.LeafReaderContext context,
int docId,
org.apache.lucene.search.IndexSearcher searcher) |
org.apache.lucene.index.IndexReader |
topLevelReader() |
org.apache.lucene.search.IndexSearcher |
topLevelSearcher() |
public void reset(InternalSearchHit hit, org.apache.lucene.index.LeafReaderContext context, int docId, org.apache.lucene.search.IndexSearcher searcher)
public InternalSearchHit hit()
public org.apache.lucene.index.LeafReader reader()
public org.apache.lucene.index.LeafReaderContext readerContext()
public int docId()
public org.apache.lucene.index.IndexReader topLevelReader()
public org.apache.lucene.search.IndexSearcher topLevelSearcher()
Copyright © 2009–2016. All rights reserved.