Kevin Roast 58e0aeee50 Webscripts (or plain javascript) in the repo tier can now optionally provide an additional 'store' reference as the first argument to the various search APIs:
- search.luceneSearch("TEXT:alfresco") <- original API
 - search.luceneSearch("workspace://SiteStore", "TEXT:website") <- new API
This allows script developers to search other stores such as the new SiteStore.

NOTE: some script writers were trying to use the public Sping bean setter method on the Search object called setStoreUrl() as a hack to do this previously - that technique is NOT thread safe and should not be used - that mechanism has now been blocked by the bean and will throw an exception.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-18 21:29:28 +00:00
..
2007-05-03 13:53:17 +00:00