Interface ImplicitFieldCollector

@Incubating public interface ImplicitFieldCollector
  • Method Details

    • indexFieldTypeFactory

      IndexFieldTypeFactory indexFieldTypeFactory()
      Returned factory can be used to easily create a field type for addImplicitField(String, IndexFieldType).
      A factory for types of index fields.
    • addImplicitField

      <F> void addImplicitField(String fieldName, IndexFieldType<F> indexFieldType)
      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
      fieldName - The relative name of the field
      indexFieldType - The type of the field