Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Index Multiple Sites

Index Multiple Sites

  • Byzza Intermediate avatar

    Posted on Mar 9, 2010 (permalink)

    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)
    etc.

    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
    Byron

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 10, 2010 (permalink)

    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.

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Index Multiple Sites