Class DynamicFieldDefinition

java.lang.Object
org.ametys.cms.search.solr.schema.FieldDefinition
org.ametys.cms.search.solr.schema.DynamicFieldDefinition
All Implemented Interfaces:
SchemaDefinition

Represents a dynamic field definition in a solr schema.
  • Constructor Details

    • DynamicFieldDefinition

      public DynamicFieldDefinition(String name, String type, boolean multiValued, boolean docValues)
      Build a dynamic field definition, indexed and stored.
      Parameters:
      name - The field name, can contain a star character to represent a dynamic field (i.e. *_type).
      type - The field type.
      multiValued - true if the field is multi-valued.
      docValues - true if the field is stored as docValues.
    • DynamicFieldDefinition

      public DynamicFieldDefinition(String name, String type, boolean multiValued, boolean docValues, boolean indexed, boolean stored)
      Build a dynamic field definition.
      Parameters:
      name - The field name, can contain a star character to represent a dynamic field (i.e. *_type).
      type - The field type.
      multiValued - true if the field is multi-valued.
      docValues - true if the field is stored as docValues.
      indexed - true if the field is indexed.
      stored - true if the field is stored.
    • DynamicFieldDefinition

      public DynamicFieldDefinition(Map<String,Object> attributes)
      Build a dynamic field definition from a map of attributes.
      Parameters:
      attributes - the Map of attributes.
  • Method Details