Module org.elasticsearch.server
Package org.elasticsearch.search.lookup
Interface SourceLookup.SourceProvider
- All Known Implementing Classes:
SourceLookup.BytesSourceProvider
,SourceLookup.MapSourceProvider
,SourceLookup.NullSourceProvider
,SourceLookup.ReaderSourceProvider
- Enclosing class:
- SourceLookup
public static interface SourceLookup.SourceProvider
SourceProvider describes how SourceLookup will access the source.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setSegmentAndDocument
(org.apache.lucene.index.LeafReaderContext context, int docId) source()
-
Method Details
-
source
-
sourceContentType
XContentType sourceContentType() -
sourceAsBytes
BytesReference sourceAsBytes() -
extractRawValuesWithoutCaching
-
hasSourceAsMap
boolean hasSourceAsMap() -
setSegmentAndDocument
void setSegmentAndDocument(org.apache.lucene.index.LeafReaderContext context, int docId)
-