Several parameters can (or must) be used in attribute definitions of both dimensions and record properties. The following table lists these parameters.

Attribute Parameter

Type

Description

isEnabled

BOOLEAN

Optional. Indicates whether this dimension is included by CAS in the output that it creates for dgidx. A value of true causes CAS to include the dimension. False causes CAS to exclude it. The default is true. This property is useful mainly for troubleshooting problems specific to certain attributes.

isRecordSearchEnabled

BOOLEAN

Optional. When isRecordSearchEnabled = true, the property or dimension can be searched for by record search. You must enable record search individually on each property or dimension that you want to be available for keyword search.

This parameter must be set to true to enable the use of the dimension parameters isHierarchicalRecordSearchEnabled and isHierarchicalDimensionSearchEnabled.

The default is false.

This property is commonly set to true only on properties that belong to search interfaces. For more information, see Configuring record searches.

isWildcardEnabledInRecordSearch

BOOLEAN

Optional. When isWildcardEnabledInRecordSearch = true, the wildcard character (*) can be used in search terms. Wildcard searching enables user queries to match fragments of words in properties or dimension values.

If isWildcardEnabledInRecordSearch is set to TRUE, then isRecordSearchEnabled must also be set to true for this property or dimension.

The default is false.

The maximum number of matching terms for a wildcard expression is 100 by default. You can modify this value with the --wildcard_max flag for the dgraph. Fpr more information, refer to the Oracle Commerce Guided Search MDEX Developer's Guide.

Note

Enabling wildcards in record searches can cause performance problems. For this reason, good practice is to enable this parameter only when clearly necessary.

jcr:primaryType

STRING

Every attribute in index-config.json must include the parameter "jcr:primaryType". This parameter specifies whether the attribute configures an Endeca dimension, a property of an Endeca record, or a derived property of an Endeca record, as follows:

The parameter "jcr:primaryType" has no default; it must be included in the attribute definition.


Copyright © Legal Notices