Interface SourceLoader

All Known Implementing Classes:
SourceLoader.Synthetic

public interface SourceLoader
Loads source _source during a GET or _search.
  • Field Details

    • FROM_STORED_SOURCE

      static final SourceLoader FROM_STORED_SOURCE
      Load _source from a stored field.
  • Method Details

    • reordersFieldValues

      boolean reordersFieldValues()
      Does this SourceLoader reorder 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

      Set<String> requiredStoredFields()
      Stream containing all non-_source stored fields required to build the _source.