Class DocValuesIndexFieldData.Builder
java.lang.Object
org.elasticsearch.index.fielddata.plain.DocValuesIndexFieldData.Builder
- All Implemented Interfaces:
IndexFieldData.Builder
- Enclosing class:
- DocValuesIndexFieldData
public static class DocValuesIndexFieldData.Builder extends java.lang.Object implements IndexFieldData.Builder
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexFieldData<?>
build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)
DocValuesIndexFieldData.Builder
numericType(IndexNumericFieldData.NumericType type)
DocValuesIndexFieldData.Builder
scriptFunction(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction)
DocValuesIndexFieldData.Builder
setRangeType(RangeType rangeType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numericType
-
scriptFunction
public DocValuesIndexFieldData.Builder scriptFunction(java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction) -
setRangeType
-
build
public IndexFieldData<?> build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)- Specified by:
build
in interfaceIndexFieldData.Builder
-