Retrieving the merge policy with the Configuration Web Service

You can retrieve the Global Configuration Record to see the current setting for the merge policy.

To retrieve the Global Configuration Record:

  1. In a tool such as soapUI, access the Configuration Web Service on the Oracle Endeca Server for the data store, as in this example for the "books" data store:
    http://localhost:port/ws/config/books?wsdl
  2. Use the getGlobalConfigRecord function to retrieve the Global Configuration Record via the Configuration Web Service, as in this example:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
       <soap:Body>
          <config:configTransaction 
             xmlns:config="http://www.endeca.com/MDEX/config/services/types/1/0" 
             xmlns:mdex="http://www.endeca.com/MDEX/config/XQuery/2009/09">
             <config:getGlobalConfigRecord />
          </config:configTransaction>
       </soap:Body>
    </soap:Envelope>
The results response from the Configuration Web Service should look like this example (the SOAP elements have been removed):
<config-service:results 
   xmlns:config-service="http://www.endeca.com/MDEX/config/services/types/1/0">
   <mdex:globalConfigRecord xmlns:mdex="http://www.endeca.com/MDEX/config/XQuery/2009/09">
      <mdex:record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         ...
         <mdex-config_Key type="mdex:string">global</mdex-config_Key>
         <mdex-config_MergePolicy type="mdex:string">balanced</mdex-config_MergePolicy>
         ...
      </mdex:record>
   </mdex:globalConfigRecord>
</config-service:results>

In this example, the merge policy is set to balanced for the Dgraph process of the Endeca data store.