Relate 360
- Relate 360 10.1
- All Products
run_client.sh --config=configuration_file_name --rule=matching_rules_file_name --operation=PREFERREDRECORDSEARCH --input=input_file_name [--outputfile=output_file_name]
Option
| Argument
| Description
|
---|---|---|
--config
| configuration_file_name
| Absolute path and file name of the configuration file that you create.
|
--rule
| matching_rules_file_name
| Absolute path and file name of the matching rules file that you create.
|
--operation
| PREFERREDRECORDSEARCH
| Type of operation that you want to perform. Specify PREFERREDRECORDSEARCH as the value.
|
--input
| input_file_name
| Absolute path and name of the input JSON file that you configure based on the search layout details.
|
--outputfile
| output_file_name
| Optional. Absolute path and name of the output JSON file to which you want to load the search results.
|
run_client.sh --config=/usr/local/tree/configuration.xml --rule=/usr/local/conf/matching_rules.xml --operation=PREFERREDRECORDSEARCH --input=/usr/local/tree/input.json --outputfile=/usr/local/tree/output.json
{ "searchType": "Employee", "resultlimit": 200, "scoreThreshold": 0, "ignoreMatch": false, "searchinput": { "NAME": "John Smith" }, "searchlayout": {}, "searchResults": [ { "COMPANY": "INFA", "MatchRuleID": "match.rule", "NAME": "John Smith", "AGE": "30", "ROW_RULE": "DEFAULT_RULE_MAX_COLUMN_VALUES", "COLUMN_RULE": "NONE", "ADDRESS": "Bagmane TechPark", "score": "100", "DOJ": "2013", "match_decision": "ACCEPT", "PHONE": "08040201000", "LMT_DIRTY_IND": "0", "CLUSTERNUMBER": "e83354b3-1558-4ab8-90ab-9c8ff03c6b28", "SOURCE": "Salesforce", "SALARY": "10000", "ID": "9", "PINCODE": "560103", "CITY": "Bangalore", "MatchedIndex": "00", "LMT_CREATE_DATE": "20180622132346", "LMT_SOURCE_NAME": "Salesforce" } ], "searchToken": -1, "pageLimit": 10, "pageOffset": 0, "totalCount": 0, "prSearchType": "Optimal", "debug": false, "resultCount": 1, "messages": { "Response Time": "345 ms" } }