Configuring Sun Master Indexes (Repository)

ProcedureTo Define a Field for Phonetic Encoding (XML Editor)

In the Object Definition file, create the field that will contain the phonetic value. For more information, see Adding a Field to the Master Index Object Structure (Repository).

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Match Field file.

    The file opens in the NetBeans XML editor.

  2. Scroll to the phoneticize-fields element in the PhoneticEncodersConfig element.

  3. Create a new phoneticize-field element within the phoneticize-fields element.

  4. In the new phoneticize-field element, create and define the elements described in Master Index Phonetic Encoding Fields and Elements (Repository).

  5. Save and close the file.


Example 4 Phonetic Encoding Structure


<phoneticize-fields>
   <phoneticize-field>
      <unphoneticized-source-field-name>Person.FirstName
      </unphoneticized-source-field-name>
      <phoneticized-target-field-name>Person.FirstNamePhoneticCode
      </phoneticized-target-field-name>
      <encoding-type>Soundex</encoding-type>
   </phoneticize-field>
</phoneticize-fields>