Class FetchDocValuesContext
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchDocValuesContext
All the required context to pull a field from the doc values.
This contains:
- a list of field names and its format.
-
Constructor Summary
ConstructorDescriptionFetchDocValuesContext(SearchExecutionContext searchExecutionContext, List<FieldAndFormat> fieldPatterns)
Create a new FetchDocValuesContext using the provided input list. -
Method Summary
-
Constructor Details
-
FetchDocValuesContext
public FetchDocValuesContext(SearchExecutionContext searchExecutionContext, List<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
Returns the required docvalue fields.
-