I have configured my Alfresco 2.0 in order to execute a distributed search against a list of different repositories. I edited the file web-api-config-custom.xml provided by the installation as web-api-config-custom.xml.sample in the following way:
<config evaluator="string-compare" condition="OpenSearch"> <opensearch> <engines> <!– –> <!– Example: Registration of remote Alfresco Server –> <!– –>
The remote machine nsiserverw2k hosts a second Alfresco 2.0 installation.
When executing a search using the OpenSearch HTTP API provided with Alfresco, the results are good for the Alfresco Open Source Talk engine, bad for my second Alfresco repository.
The following javascript message is returned back: An error occurred: object needed
The search fails.
Any engineer from Alfresco can help me? OpenSearch capabilities are very good but documentation from Alfresco is still poor and not so clear.
Many thanks and many conpliments to the Alfresco team.
Many thanks for your reply, I was able to solve the problem just a little before your answer removing the proxy attribute from the engine entity. Now the distribuited search works well.