- All Known Implementing Classes:
SourceLoader.Stored,SourceLoader.Synthetic
public interface SourceLoader
Loads source
_source during a GET or _search.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classSynthetic field loader that uses only doc values to load synthetic source values.static interfaceLoads_sourcefrom some segment.static classstatic classReconstructs_sourcefrom doc values anf stored fields.static interfaceLoad a field forSourceLoader.Synthetic. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionleaf(org.apache.lucene.index.LeafReader reader, int[] docIdsInLeaf) Build the loader for some segment.booleanDoes thisSourceLoaderreorder field values?Stream containing all non-_sourcestored fields required to build the_source.
-
Field Details
-
FROM_STORED_SOURCE
Load_sourcefrom a stored field.
-
-
Method Details
-
reordersFieldValues
boolean reordersFieldValues()Does thisSourceLoaderreorder field values? -
leaf
SourceLoader.Leaf leaf(org.apache.lucene.index.LeafReader reader, int[] docIdsInLeaf) throws IOException Build the loader for some segment.- Throws:
IOException
-
requiredStoredFields
Stream containing all non-_sourcestored fields required to build the_source.
-