A managed attribute is used to enable the creation of hierarchical standard attribute values. Therefore they are also known as schema attribute. You can see a managed attributes as the key of a level in a hierarchy.
Through managed attribute values, you can express:
- hierarchical relationships on data records
- domain: a set of predefined values (enumerated). For example, for a managed attribute “currency”, you can define a limited set of values, “dollars” and “euros”.
- synonyms: a set of synonyms for each value. For example, you can add a synonym “Beantown” to a managed attribute value “Boston”.
- ranking (static)
on record refinements in your data domain.
Each managed attribute is described by one PDR and one DDR.
Managed Attribute Value Description Records (MAVDRs)
A request to add a managed attribute value record using the Configuration Web Service has this structure:
<ns:configTransaction> <ns:putManagedAttributeValues> <ns1:mav> <name>?</name> <spec>?</spec> <parent>?</parent> <managedAttribute>?</managedAttribute> <synonym>?</synonym> <synonym>?</synonym> <rank>?</rank> </ns1:mav> </ns:putManagedAttributeValues> </ns:configTransaction>
In this structure, the spec, parent, and managedAttribute elements are required, all other elements are optional.
Managed Attribute Value Description Records (MAVDRs) are created in the index, when you add managed attributes and their values.