Configuring Sun Master Indexes

Configuring Weighted Strategies

The wizard creates a default weighted strategy that defines a general weighting structure to be used by most fields. Unless custom weighted calculator strategies are defined for a field, the default strategies defined in the default-parameters element are used for each field using the weighted calculator.

ProcedureTo Add Default Weighted Calculator Parameters

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

    The file opens in the NetBeans XML editor.

  2. Scroll to the default-parameters element in the WeightedCalculator element.

  3. Create new a new parameter element within the default-parameters element, but outside any existing parameter elements.

  4. In the new parameter element, define the elements listed in Master Index Weighted Calculator Parameter Elements.

    For example:


    <default-parameters>
       <parameter>
          <quality>SourceSystem</quality>
          <preference>CDA</preference>
          <utility>80.0</utility>
       </parameter>
       <parameter>
          <quality>MostRecentModified</quality>
          <utility>75.0</utility>
       </parameter>
    </default-parameters>
  5. Save and close the file.