By default, the output name of a dynamic property in generated records is:

item-type.property-name

For example, a weight dynamic property of the sku static item type would appear in the MDEX as sku.weight. You can override the default output property name by setting the optional outputName attribute when you create the das_gsa_dynamic_prop metadata item for the dynamic property. For example, for a property to appear as sku.weightInGrams:

<set-property name="attribute_value"><![CDATA[writeable=true,
  searchable=true,text-searchable=true,
  outputName=sku.weightInGrams]]></set-property>

The outputName attribute is equivalent to the output-name attribute in EndecaIndexingOutputConfig definition files.

For dynamic properties of dynamic subtypes, be sure to use the outputName attribute to specify the output name, even if you are not overriding the default value. Doing this ensures that the correct item-type prefix is included. For example, if you have an electricalProduct subtype of the product item type, and you add a wattage property to electricalProduct, you could specify the search attributes as follows:

<set-property name="attribute_value"><![CDATA[writeable=true,
  searchable=true,text-searchable=true,
  outputName=electricalProduct.wattage]]></set-property>

Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices