Configuring Sun Master Indexes (Repository)

Specifying a Standardization Engine for the Master Index (Repository)

Sun Master Index can support standardization engines from different vendors depending on the adapter configured to communicate with the engine. Default classes are provided for using the Sun Match Engine. You can implement a custom standardization engine along with customized adapters. The standardization engine configuration is defined by standardizer-api and standardizer-config elements.


Note –

The default adapters for the Sun Match Engine are com.stc.eindex.matching.adapter.SbmeStandardizerAdapter and com.stc.eindex.matching.adapter.SbmeStandardizerAdapterConfig.


ProcedureTo Specify the Standardization Engine

  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 standardizer-api element in the MatchingConfig section.

  3. Specify the Java class for the standardization adapter to use, using the fully qualified class name as shown below.


    <standardizer-api>
       <class-name>
        com.stc.eindex.matching.adapter.MyStandardizerAdapter
       </class-name>
    </standardizer-api>
  4. In the standardizer-config element, specify the Java class for the configuration of the standardization adapter, using the fully qualified class name as shown below.


    <standardizer-config>
       <class-name>
         com.stc.eindex.matching.adapter.SbmeStandardizerAdapterConfig
       </class-name>
    </standardizer-config>
  5. Save and close the file.