Interface SourceLoader.Leaf

Enclosing interface:
SourceLoader

public static interface SourceLoader.Leaf
Loads _source from some segment.
  • Field Details

  • Method Details

    • source

      BytesReference source(FieldsVisitor fieldsVisitor, int docId) throws IOException
      Load the _source for a document.
      Parameters:
      fieldsVisitor - field visitor populated with _source if it has been saved
      docId - the doc to load
      Throws:
      IOException