Table of Contents

Search

  1. Preface
  2. Introduction to Informatica MDM - Relate 360
  3. Linking Batch Data
  4. Tokenizing Batch Data
  5. Processing Streaming Data
  6. Creating Relationship Graph
  7. Loading Linked and Consolidated Data into Hive
  8. Searching Data
  9. Monitoring the Batch Jobs
  10. Troubleshooting
  11. Glossary

User Guide

User Guide

Get Multisearch Layout Operation

Get Multisearch Layout Operation

The Get Multisearch Layout operation gets the search layout for your matching rules file. The search layout contains the required fields that you can specify in the input JSON file to perform the MULTISEARCH operation.
Run the
run_client.sh
script located in the following directory to perform the Get Multisearch Layout operation:
/usr/local/mdmbdrm-<Version Number>
To run the
run_client.sh
script, use the following command format:
run_client.sh --config=configuration_file_name --operation=GETMULTISEARCHLAYOUT [--outputfile=output_file_name] --rule=matching_rules_file_name
The following table describes the options and arguments that you can specify to run the
run_client.sh
script:
Option
Argument
Description
--config
configuration_file_name
Absolute path and file name of the configuration file that you create.
--operation
GETMULTISEARCHLAYOUT
Type of operation that you want to perform. Specify GETMULTISEARCHLAYOUT.
--outputfile
output_file_name
Optional. Absolute path and name of the output JSON file to which you want to load the search layout.
--rule
matching_rules_file_name
Absolute path and file name of the matching rules file that you create.
For example:
run_client.sh --config=/usr/local/tree/configuration.xml --operation=GETMULTISEARCHLAYOUT --outputfile=/usr/local/tree/output.json --rule=/usr/local/conf/matching_rules.xml
The following sample response shows the search layout for a matching rules file:
{ "sortField":"", "searchType":"Football", "resultlimit":0, "scoreThreshold":0, "ignoreMatch":false, "searchinput":{ }, "searchlayout":{ "PINCODE":"optional", "NAME":"mandatory for the match rulesets: 00" }, "searchResults":[ ], "searchToken":-1, "pageLimit":10, "pageOffset":0, "totalCount":0, "completeDetails":false, "prSearchType":"Detailed", "debug":false, "resultCount":0, "messages":{ "Comment":"specify all the mandatory fields of at least one match ruleset." } }
A search layout includes the following parameters:
sortField
Optional. Column name based on which you want to sort the search results lexicographically.
You can use one of the columns that you define in the
PZMAP
section of the configuration file to sort the search results. You can also use the parameter value as
score
to sort the results in the descending order of the search result scores. For example,
"sortField":"score"
searchType
Name for the search.
resultlimit
Optional. Maximum number of records that you want to return. Default is 0, which indicates to return a maximum of 200 records.
scoreThreshold
Optional. Minimum matching score of the records that you want to include in the results. Default is 0, which indicates to include all the records in the results.
ignoreMatch
Optional. Indicates whether to perform matching on the records retrieved based on the key ranges. Set to true to ignore matching, and set to false to perform matching. Default is false.
searchlayout
List of required search fields that you must specify.
Use the following format to specify a search field:
"<Field 1>": "<Field Value>"
searchToken
Optional. Indicates whether to enable pagination for the search results when you perform a search for the first time. If you enable pagination, the search request returns a token with the search results. You can use the token in the subsequent requests to get the search results from cache to avoid performing the search again.
When you run a search request for the first time, set
searchToken=0
to enable pagination. In the subsequent requests, you can use the token that the search request returns. For example,
searchToken=1994262671816343815
. Set
searchToken=-1
to disable pagination. By default, pagination is disabled.
pageLimit
Optional. Maximum number of search results to return. The
pageLimit
parameter is applicable if you enable pagination. For example,
pageLimit=20
returns 20 search results. Default is 10.
pageOffset
Optional. Number of search results to skip. The
pageOffset
parameter is applicable if you enable pagination. For example,
pageOffset=40
indicates to skip the first 40 search results and return search results starting from 41. Default is 0.

0 COMMENTS

We’d like to hear from you!