Configuring Sun Master Indexes (Repository)

Specifying the Master Index Survivor Helper (Repository)

The survivor helper class determines how to retrieve values from system records and how to set them in the SBR. The default class is com.stc.eindex.survivor.impl.DefaultSurvivorHelper, which uses the ePath method to retrieve and set the values. You can create a custom survivor helper class to support other methods for retrieving and setting values. If you implement a custom survivor helper class, it must extendcom.stc.eindex.survivor.AbstractSurvivorHelper.

ProcedureTo Specify the Survivor Helper

  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 helper-class element in the SurvivorHelperConfig element.

  3. Change the value of the helper-class element to the fully qualified name of new helper class.

    For example:


    <helper-class>com.stc.eindex.survivor.impl.MySurvivorHelper
    </helper-class>
  4. Save and close the file.