Class FetchDocValuesContext
java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchDocValuesContext
public class FetchDocValuesContext
extends java.lang.Object
All the required context to pull a field from the doc values.
-
Constructor Summary
Constructors Constructor Description FetchDocValuesContext(java.util.List<FieldAndFormat> fields)
-
Method Summary
Modifier and Type Method Description static FetchDocValuesContext
create(MapperService mapperService, java.util.List<FieldAndFormat> fieldPatterns)
java.util.List<FieldAndFormat>
fields()
Returns the required docvalue fields
-
Constructor Details
-
Method Details
-
create
public static FetchDocValuesContext create(MapperService mapperService, java.util.List<FieldAndFormat> fieldPatterns) -
fields
Returns the required docvalue fields
-