Configuring Custom Netrics Query

By default, the Installer configures the custom Netrics query. To manually configure, follow the steps.

Procedure

  1. Import customer.zip metadata from $MQ_HOME\templates\customer\.
  2. Copy and modify the CustomQueryConfig.xml file from MQ_HOME\templates\customer\queryConfig to MQ_COMMON_DIR\<enterprisename>\rulebase\ .
  3. The thesaurus file must be correctly defined in the CustomQueryConfig.xml available in the MQ_HOME\templates\customer\queryConfig and the thesaurus files nicknames.csv and street.csv are available in MQ_HOME\templates\customer\thesaurus .
  4. Copy the Rulebase file from MQ_HOME\templates\customer\queryConfig\MatchAttrList.xml to MQ_COMMON_DIR\<enterprisename>\rulebase\.
  5. Using the TIBCO MDM Studio, update the wfin26productaddinternaleditv1.xml. In Matcher activity, enable the custom configuration <Parameter name="UseCustomQueryForNetrics" direction="in" eval="constant" type="String">true</Parameter> <!-- com.tibco.mdm.repository.search.INetricsQueryBuilder --> <Parameter name="CustomNetricsQueryBuilderImpl" direction="in" eval="constant" type="String">com.tibco.dq.customQuery.PatternsCustomQueryImpl</Parameter>