Try Now
More in this section

Forums / General Discussions / Index Multiple Sites

Index Multiple Sites

2 posts, 0 answered
  1. Byzza
    Byzza avatar
    89 posts
    09 Jul 2007
    10 Mar 2010
    Link to this post
    Ok, so i'm just testing various installation metions so that Its easier for us (the IT team) to manage our intranet and we have decided that currently our best option is to have multiple sites, with just one security system.
    I.E. we want our setup such:

    http://intranet/telerik/.... (project manager)
    http://intranet/cms/... (Generic content and main DB, all security stored in this one)
    http://intranet/project1/  (one of our projects, own db, using cms db for security)
    http://intranet/help/ (our help project, own db, using cms db for security)

    project1, help, etc will each have their own seach indexes and search page (this is easy built in function).  But on the home page (cms) we want to be able to search ALL our projects. 

    So my questions is:
    Is there any way to do this?

    If there isn't, can you maybe suggest an better way for us to setup our CMS system.

    Thank you
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    10 Mar 2010
    Link to this post
    Hello Byzza,

    The default search engine works only in the context of one website. Each index generates segments files in App_Data folder.

    If you use on instance of Sitefinity you can combine several search indexes. This is achievable if cms, telerik, help are group pages. You can configure the index to start indexing from a node or just all items. then the SearchResults control will display everything.

    If you want to use different instances of Sitefinity, this will be a problem, because each website will generate its own search engine segments files which you will not be able to merge. You can get around  this by using file replication tool that copies the segment files from App_Data folder between the websites. Then you need to create a custom SearchResults control that can work with more than one index - the default control supports only one index.

    You may find this posts useful

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered