Setting Alternate Search URL

SharePoint can be configured in multiple ways and sometimes a dedicated farm will be provisioned to deliver shared services such as search and managed metadata.

Also, in an upgrade scenario where SharePoint 2010 is being gradually upgraded to SharePoint 2013, SharePoint 2010 can be configured to consume SharePoint2013 shared services such as search.


In these scenarios it is necessary to configure the OnePlace Solutions products to use an alternate search URL so that when you execute searches in the navigation tree or location content grid, the search is executed against a different URL from the location you are executing your search.


Use the ‘startsWithMatchingUrl’ attribute to specify locations which should have their search redirected to an alternate URL. If you have multiple site collections on the same web application, just specify the first part of the URLto have all site collections have their search performed against an alternative URL. Use the ‘searchProviderUrl’ to specify the alternative search URL to use to execute the search.



<?xml version="1.0" encoding="UTF-8"?>
<configuration> 
    <searchProviderUrls>
        <searchProviderUrl startsWithMatchingUrl="http://vs-server108" action="delete"/>
        <searchProviderUrl startsWithMatchingUrl="http://vs-server108" searchProviderUrl="http://vs-server82" action="insert"/>                 
    </searchProviderUrls>
</configuration>


There are some scenarios or configurations that will not work if configured to use alterative search URLs. These are summarized below;


Scenarios we support


Scenarios we don’t support