Package io.jmix.search.index.mapping
Class DynamicAttributesGroupConfiguration
java.lang.Object
io.jmix.search.index.mapping.AbstractAttributesGroupConfiguration
io.jmix.search.index.mapping.DynamicAttributesGroupConfiguration
- All Implemented Interfaces:
AttributesGroupConfiguration
The
DynamicAttributesGroupConfiguration class represents a search configuration
for a group of the dynamic attributes.
It allows specifying which properties should be included or excluded for indexing and provides functionality to define additional configurations like field mapping strategies and parameterization.
Equivalent of a single field-mapping annotation DynamicAttributes.
Instances of this class should be built using the DynamicAttributesGroupConfiguration.DynamicAttributeGroupDefinitionBuilder.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String[]protected final String[]protected final ReferenceAttributesIndexingModeFields inherited from class io.jmix.search.index.mapping.AbstractAttributesGroupConfiguration
fieldConfiguration, fieldMappingStrategy, fieldMappingStrategyClass, order, parameters, propertyValueExtractor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicAttributesGroupConfiguration(DynamicAttributesGroupConfiguration.DynamicAttributeGroupDefinitionBuilder builder) -
Method Summary
Methods inherited from class io.jmix.search.index.mapping.AbstractAttributesGroupConfiguration
getFieldConfiguration, getFieldMappingStrategy, getFieldMappingStrategyClass, getOrder, getParameters, getPropertyValueExtractor
-
Field Details
-
excludedCategories
-
excludedProperties
-
referenceAttributesIndexingMode
-
-
Constructor Details
-
DynamicAttributesGroupConfiguration
protected DynamicAttributesGroupConfiguration(DynamicAttributesGroupConfiguration.DynamicAttributeGroupDefinitionBuilder builder)
-
-
Method Details
-
getExcludedProperties
Provides full names of properties that should NOT be indexed.- Returns:
- property names
-
builder
-
getExcludedCategories
Retrieves the categories that are excluded from processing or indexing.- Returns:
- an array of the excluded category names.
-
getReferenceAttributesIndexingMode
Gets the reference attributes indexing mode.- Returns:
- the reference attributes indexing mode
-