Class FieldFetcher

java.lang.Object
org.elasticsearch.search.fetch.subphase.FieldFetcher

public class FieldFetcher extends Object
A helper class to FetchFieldsPhase that's initialized with a list of field patterns to fetch. Then given a specific document, it can retrieve the corresponding fields from the document's source.