Interface ImplicitFieldCollector
-
Method Summary
Modifier and TypeMethodDescription<F> void
addImplicitField
(String fieldName, IndexFieldType<F> indexFieldType) Create a new implicit field.Returned factory can be used to easily create a field type foraddImplicitField(String, IndexFieldType)
.
-
Method Details
-
indexFieldTypeFactory
IndexFieldTypeFactory indexFieldTypeFactory()Returned factory can be used to easily create a field type foraddImplicitField(String, IndexFieldType)
.- Returns:
- A factory for types of index fields.
-
addImplicitField
Create a new implicit field. It is expected that the field will be present in the created index. Mapping will not be modified.- Type Parameters:
F
- The type of values for the field- Parameters:
fieldName
- The relative name of the fieldindexFieldType
- The type of the field
-