Global Configuration Record

The Global Configuration Record (GCR) stores global configuration settings for the Endeca data domain.

The GCR sets the configuration for wildcard search enablement, search characters, merge policy, and spelling correction settings. A full description of its properties and their default values is available in the Oracle Endeca Server Developer's Guide.

Note the following requirements of the GCR:
  • The mdex-config_Key property must be unique and single-assign. The value of this property must be global.
  • The GCR input file must contain valid values for all of GCR properties. No property can be omitted. If you omit any property, the load graph fails with an error.
  • The GCR input file cannot include arbitrary, user-defined properties. If you add any arbitrary values, the load graph fails with an error.
Note: If you change any of the spelling settings, make sure you rebuild the spelling dictionary. For details about updating the dictionary, see "Updating spelling dictionaries for a data domain" in the Oracle Endeca Server Cluster Guide.

Sample GCR input file

The following code illustrates a sample GCR:
<mdex:record>
  <mdex-config_Key>global</mdex-config_Key>
  <mdex-config_EnableValueSearchWildcard>true</mdex-config_EnableValueSearchWildcard>
  <mdex-config_MergePolicy>aggressive</mdex-config_MergePolicy>
  <mdex-config_SearchChars>+_</mdex-config_SearchChars>
  <mdex-config_SpellingRecordMinWordOccur>2</mdex-config_SpellingRecordMinWordOccur>
  <mdex-config_SpellingRecordMinWordLength>4</mdex-config_SpellingRecordMinWordLength>
  <mdex-config_SpellingRecordMaxWordLength>24</mdex-config_SpellingRecordMaxWordLength>
  <mdex-config_SpellingDValMinWordOccur>5</mdex-config_SpellingDValMinWordOccur>
  <mdex-config_SpellingDValMinWordLength>3</mdex-config_SpellingDValMinWordLength>
  <mdex-config_SpellingDValMaxWordLength>20</mdex-config_SpellingDValMaxWordLength>
</mdex:record>
This GCR:
  • Enables wildcard search by setting the mdex-config_EnableValueSearchWildcard property to true.
  • Sets the merge policy to aggressive via the mdex-config_MergePolicy property.
  • Adds the plus (+) and underscore (_) characters as search characters for value search and record search operations.

You can create the file in a text editor.