Class FetchDocValuesContext

org.elasticsearch.search.fetch.subphase.FetchDocValuesContext

public class FetchDocValuesContext extends
All the required context to pull a field from the doc values. This contains:
  • a list of field names and its format.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FetchDocValuesContext​(SearchExecutionContext searchExecutionContext, <FieldAndFormat> fieldPatterns)
    Create a new FetchDocValuesContext using the provided input list.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the required docvalue fields.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • FetchDocValuesContext

      public FetchDocValuesContext(SearchExecutionContext searchExecutionContext, <FieldAndFormat> fieldPatterns)
      Create a new FetchDocValuesContext using the provided input list. Field patterns containing wildcards are resolved and unmapped fields are filtered out.
  • Method Details

    • fields

      public <FieldAndFormat> fields()
      Returns the required docvalue fields.