You can programmatically set the merge policy for the data domain by updating the Global Configuration Record.
To set the merge policy in the Global Configuration Record:
http://host:port/endeca-server/ws/config/dataDomain?wsdl
host and port specify the host name and port on which the Endeca Server is running and dataDomain is the name of the Endeca data domain to be merged.
<config:configTransaction xmlns:config="http://www.endeca.com/MDEX/config/services/types/2/0" xmlns:mdex="http://www.endeca.com/MDEX/config/XQuery/2009/09"> <config:putGlobalConfigRecord> <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">aggressive</mdex-config_MergePolicy> ... </mdex:record> </config:putGlobalConfigRecord> </config:configTransaction>