The
idPropertyName
property specifies the source record property whose value will become the
record ID of the Endeca record based on this source record. The value must be a
non-empty string. The record IDs of Endeca records are used by MDEX to identify
and distinguish the records when it processes them.
Note
The value of the property specified by
idPropertyName
in each Endeca record must be unique
among all the other Endeca records in the same record store.
The
idPropertyName
property is the only property specified
in the version of
\data-recordstore-config.xml
that is provided with the Discover
reference application. Here, its value is
common.id
:
<recordStoreConfiguration xmlns="http://recordstore.itl.endeca.com/"> <idPropertyName>common.id</idPropertyName> </recordStoreConfiguration>
You must ensure that the value of
idPropertyName
is the name of a property that exists
in your source records and whose values are suitable for use as Endeca record
IDs -- that is, that are unique in the set of records that you are loading into
CAS.
If a value for
idPropertyName
is not specified, the value of the
source record property
Endeca.Id
is used by default.
The source record property containing record IDs must also be
specified in
\config\mdex\Discover.record_spec.xml
:
<RECORD_SPEC> <PROPNAME>common.id</PROPNAME> </RECORD_SPEC>
Thus, each
common.id
property in the source records must have a
value that is unique among the source records.