Configuring Sun Master Indexes (Repository)

Deleting Candidate Fields

Once a field is defined in the SBR candidate field list, you can delete the field if you do not want to include the field in the SBR. If you delete a field from the object definition, make sure to delete the field here as well.

ProcedureTo Delete a Candidate Field

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

    The file opens in the NetBeans XML editor.

  2. Scroll to the candidate-definitions element in the SurvivorHelperConfig element.

  3. Delete all text between and including the appropriate candidate-field element.

    Using the example below, to delete the Religion field, delete the boldface text; to delete the Alias object, delete the plain text.


    <candidate-field name="Person.Religion"/>
    <candidate-field name="Person.Alias[*].*"/>
       <system-fields>
          <field-name>LastModified</field-name>
       </system-fields>
       <survivor-strategy>
          <strategy-class>com.stc.eindex.user.MyStrategy
          </strategy-class>
       </survivor-strategy>
    </candidate-field>

    Note –

    Do not delete all candidate fields; at a minimum, the match fields must be defined.


  4. Save and close the file.