Oracle ATG Web Commerce Search returns metadata properties associated with the index item of each result. Since Oracle ATG Web Commerce views text fields such as displayName as properties too, a way is needed to specify which text fields should be returned as if they were metadata. The textProps attribute specifies these properties as shown:

<query textProps="prop,prop,…"

Each prop value is the name of a text field. For structured content such as catalogs and solution knowledge bases, these names begin with role:, such as role:product.displayName. These names will appear alongside any metadata properties for use in the presentation of results.