New standard attributes and managed attributes created during an ingest are given a set of default values.
During any data ingest operation, if a non-existent standard attribute is specified for a record, the specified standard attribute is automatically created by the Data Ingest Web Service. Likewise, non-existent managed attributes specified for a record are also automatically created. Note that you cannot disable this automatic creation of attributes.
PDR property | Default setting |
---|---|
mdex-property_Key | Set to the standard attribute name specified in the request. |
mdex-property_Type | Set to the Dgraph property type specified in the request. If no property type was specified, defaults to an mdex:string type. |
mdex-property_Language | Sets the language of the attribute's data. See the "Global PDR language ID" section below for information on the default setting for the language ID. |
mdex-property_IsPropertyValueSearchable | true (the standard attribute will be enabled for value search) |
mdex-property_IsSingleAssign | true (a record may have only one value assignment for the standard attribute) |
mdex-property_IsTextSearchable | false (the standard attribute will be disabled for record search) |
mdex-property_IsUnique | false (more than one record may have the same value of this standard attribute) |
mdex-property_TextSearchAllowsWildcards | false (wildcard search is disabled for this standard attribute) |
system-navigation_Select | single (allows selecting only one refinement from this standard attribute) |
system-navigation_ShowRecordCounts | true (record counts will be shown for a refinement) |
system-navigation_Sorting | record-count (refinements are sorted in descending order, by the number of records available for each refinement) |
A managed attribute that is automatically created will have both a PDR and a DDR created by the Data Ingest Web Service. The default values for the PDR are the same as listed in the table above, except that mdex-property_IsPropertyValueSearchable will be false (i.e., the managed attribute will be disabled for value search).
DDR property | Default setting |
---|---|
mdex-dimension_Key | Set to the managed attribute name specified in the request. |
mdex-dimension_EnableRefinements | true (refinements will be displayed) |
mdex-dimension_IsDimensionSearchHierarchical | false (hierarchical search is disabled during value searches) |
mdex-dimension_IsRecordSearchHierarchical | false (hierarchical search is disabled during record searches) |
A PDR's mdex-property_Language property specifies the language of that standard attribute, via a language ID (such as en for English or de for German). If a standard attribute is automatically created (by the Data Ingest Web Service or by the Bulk Load Interface), or if you do not specify a language ID when creating your attribute schema, then the value of the mdex-property_Language property for a PDR will be set to the system language ID value.
The value of the global PDR language ID is unknown by default. However, you can use the Configuration Web Service's setPropertyDefaultLanguage operation to change it to a value of your choice. The setting of this value is stored on disk in the index files for the specific Endeca data domain, so that it is available across restarts of that data domain. See the Oracle Endeca Server Developer's Guide for a list of the supported language IDs.
Note that the global PDR language ID (as set by the setPropertyDefaultLanguage operation) serves a different purpose than the Language element of the ingestChanges complex type. This Language element lets you set the language in which EQL error messages are returned and is described in Identifying records with EQL.