Global PDR language code

The global PDR language code determines which language code is used when a PDR is automatically created.

If a standard attribute is automatically created at ingest time (by the Data Ingest Web Service or the Bulk Load interface), or if you do not specify a language code when creating your attribute schema, then the value of the mdex-property_Language property for a PDR will be set to the global PDR language code. This is also the case if you partially define a PDR but do not set the mdex-property_Language property.

The value of the global PDR language code is unknown by default. However, you can use the Configuration Web Service's setPropertyDefaultLanguage operation to change it to a value of your choice. This example sets the language code to de (German):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:ns="http://www.endeca.com/MDEX/config/services/types/2/0" 
  xmlns:ns1="http://www.endeca.com/MDEX/config/XQuery/2009/09">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:configTransaction>
         <ns:setPropertyDefaultLanguage>de</ns:setPropertyDefaultLanguage>
      </ns:configTransaction>
   </soapenv:Body>
</soapenv:Envelope>

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. You can use the Configuration Web Service's getPropertyDefaultLanguage operation to retrieve the current setting of the global PDR language code.