Thursday, 13 October 2016

Defining Accessors

How to DefineAccessors during Indexing 


Open the product-sku-output-config.xml and you can define by the Following way.

<property name="activeProperty" type="string" output-name="activeProperty"
property-accessor="/atg/commerce/endeca/index/accessor/activePropertyAccessor" is-non-repository-property="true"
            is-dimension="true" autogen-dimension-values="false" text-searchable="true" wildcard-searchable="true" />


You have to define the is-non-repository-property="true" for defining it as a Accessor Property. Then we have to define accessor for the Component path where we have written our accessor.



No comments:
Write comments