Index Entity Fuzzy Query Service
The Index Entity Fuzzy Query web service allows you to perform search on IndexEntity, which is specified in the IndexerConfig.xml. This file is located in the $MQ_HOME/config folder.
For more information about this file, refer to TIBCO MDM System Administrator’s Guide.
To use Index Entity Fuzzy Query web service, specify the entity name, similarity score, text search fuzzy query service details, and standard paging elements.
IndexEntity Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.tibco.com/cim/services/dataservice/wsdl/2.0"> <soapenv:Header /> <soapenv:Body> <ns:TextSearchRequest> <ns:UserInfo> <ns:UserName>jsmith</ns:UserName> <ns:Password>jsmith</ns:Password> <ns:Enterprise>tech</ns:Enterprise> </ns:UserInfo> <ns:IndexEntityFuzzyQuery> <ns:EntityName>Customer_OfficeAddress</ns:EntityName> <ns:SimilarityScore>0.6</ns:SimilarityScore> <ns:Repository> <ns:Name>CUSTOMER</ns:Name> <ns:FuzzyQuery> <ns:BaseExpression attribute="LASTNAME">Smith</ns:BaseExpression> </ns:FuzzyQuery> <ns:Relationship> <ns:Name>OFFICEADDRESS</ns:Name> </ns:Relationship> </ns:Repository> <ns:Repository> <ns:Name>ADDRESS</ns:Name> <ns:FuzzyQuery> <ns:BaseExpression attribute="CITY">Pune</ns:BaseExpression> </ns:FuzzyQuery> </ns:Repository> </ns:IndexEntityFuzzyQuery> <ns:ReturnCount> <ns:StartCount>1</ns:StartCount> <ns:TotalCount>1</ns:TotalCount> </ns:ReturnCount> </ns:TextSearchRequest> </soapenv:Body> </soapenv:Envelope> IndexEntity Response <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:TextSearchResponse xmlns:ns="http://www.tibco.com/cim/services/dataservice/wsdl/2.0"> <ns:Records> <ns:Record searchScore="1.0" searchScoreString=" "> <ns:ExternalKeys> <ns:Key name="MASTERCATALOGNAME" type="string">CUSTOMER</ns:Key> <ns:Key name="PRODUCTID" type="string">CUST102</ns:Key> <ns:Key name="PRODUCTIDEXT" type="string">4</ns:Key> </ns:ExternalKeys> <ns:EntityData> <ns:Attribute name="Gender" type="string">M</ns:Attribute> <ns:Attribute name="OWNERID" type="decimal">2147494649</ns:Attribute> <ns:Attribute name="CATALOGVERSIONNUMBER" type="decimal">1</ns:Attribute> <ns:Attribute name="PRODUCTKEYID" type="decimal">2147494791</ns:Attribute> <ns:Attribute name="MODVERSION" type="decimal">1</ns:Attribute> <ns:Attribute name="PARENTVERSION" type="decimal">0</ns:Attribute> <ns:Attribute name="LastName" type="string">Smith</ns:Attribute> <ns:Attribute name="MODMEMBERID" type="decimal">2147485082</ns:Attribute> <ns:Attribute name="PROCESSLOGID" type="">2148583566</ns:Attribute> <ns:Attribute name="LASTIMPORTTIME" type="decimal">1.306997374356E12</ns:Attribute> <ns:Attribute name="ACTIVE" type="string">Y</ns:Attribute> <ns:Attribute name="MODDATE" type="date">2011-06-02 12:19:48.0</ns:Attribute> <ns:Attribute name="Firstname" type="string">John</ns:Attribute> <ns:Attribute name="STATE" type="string">CONFIRMED</ns:Attribute> <ns:Attribute name="OWNERTYPE" type="decimal">21</ns:Attribute> <ns:Attribute name="LASTCONFIRMEDVERSION" type="decimal">1</ns:Attribute> <ns:Attribute name="Age" type="integer">23</ns:Attribute> <ns:Attribute name="CHECKSUM" type="decimal">-1090762682</ns:Attribute> <ns:Attribute name="CREATIONDATE" type="date">2011-06-02 12:19:34.0</ns:Attribute> <ns:Attribute name="DOB" type="date">1986-01-15 00:00:00.0</ns:Attribute> </ns:EntityData> <ns:RelationshipData> <ns:Relationship> <ns:RelationType>OfficeAddress</ns:RelationType> <ns:RelatedEntities> <ns:Record searchScore="1.0" searchScoreString=" "> <ns:ExternalKeys> <ns:Key name="MASTERCATALOGNAME" type="string">ADDRESS</ns:Key> <ns:Key name="PRODUCTID" type="string">ADDR231</ns:Key> <ns:Key name="PRODUCTIDEXT" type="string">1</ns:Key> </ns:ExternalKeys> <ns:EntityData> <ns:Attribute name="ADDRESS1" type="string">Gokhale Nagar</ns:Attribute> <ns:Attribute name="Country" type="string">India</ns:Attribute> <ns:Attribute name="OWNERID" type="decimal">2147494649</ns:Attribute> <ns:Attribute name="CATALOGVERSIONNUMBER" type="decimal">1</ns:Attribute> <ns:Attribute name="PRODUCTKEYID" type="decimal">2147495316</ns:Attribute> <ns:Attribute name="MODVERSION" type="decimal">1</ns:Attribute> <ns:Attribute name="PARENTVERSION" type="decimal">0</ns:Attribute> <ns:Attribute name="MODMEMBERID" type="decimal">2147485082</ns:Attribute> <ns:Attribute name="LASTIMPORTTIME" type="decimal">1306997374356</ns:Attribute> <ns:Attribute name="PROCESSLOGID" type="">2148583566</ns:Attribute> <ns:Attribute name="Zip" type="integer">411016</ns:Attribute> <ns:Attribute name="ACTIVE" type="string">Y</ns:Attribute> <ns:Attribute name="MODDATE" type="date">2011-06-02 12:19:47.0</ns:Attribute> <ns:Attribute name="STATE" type="string">CONFIRMED</ns:Attribute> <ns:Attribute name="OWNERTYPE" type="decimal">21</ns:Attribute> <ns:Attribute name="LASTCONFIRMEDVERSION" type="decimal">1</ns:Attribute> <ns:Attribute name="City" type="string">Pune</ns:Attribute> <ns:Attribute name="CHECKSUM" type="decimal">-1088085556</ns:Attribute> <ns:Attribute name="CREATIONDATE" type="date">2011-06-02 12:19:34.0</ns:Attribute> </ns:EntityData> </ns:Record> </ns:RelatedEntities> </ns:Relationship> </ns:RelationshipData> </ns:Record> </ns:Records> <ns:ReturnCount> <ns:StartCount>1</ns:StartCount> <ns:TotalCount>1</ns:TotalCount> </ns:ReturnCount> </ns:TextSearchResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © Cloud Software Group, Inc. All rights reserved.