1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Searching a second sitefinity site

Searching a second sitefinity site

2 posts, 0 answered
  1. Jon Ingersoll
    Jon Ingersoll avatar
    32 posts
    Registered:
    12 May 2009
    17 Jul 2009
    Link to this post
    Hola,

    We just setup a second sitefinity instance to hold all of our help articles and IT related applications. While this instance runs on the same server, same database server it's a different url and completely separate site.

    If we wanted to make the content in the second sitefinity site searchable by our original sitefinity portal, would there be an easy way to do this?

    -Jon
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    19 Jul 2009
    Link to this post
    Hi Jon Ingersoll,

    The easiest way would be adding additional provider with connection string that points to the other project database( if the database is not shared)

     <search defaultProvider="Search"
          <providers> 
            <clear/> 
            <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="DefaultConnection" 
                useCompoundIndexFile="true"/> 
            <add name="SearchTwo" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="WebsiteTwo" 
                useCompoundIndexFile="true"/> 
          </providers> 
     
         .... 
           .... 
             .... 

    If this does not help, please write back to us.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered