none
Fast search and sharepoint multi tenacy - how do you do it? RRS feed

  • Question

  • Hi,
    I am familiar with the PowerShell config of native SharePoint enterprise search to set up partitioned databases...
    They want to use Fast search in a SP 2010 environment where I work so how do you enable multi tenancy with Fast?
    Thanks.
    Thursday, January 10, 2013 8:11 AM

Answers

  • Hi,

    If you can control that scopes are added to each query it's not that hard. If search is done via the API and you cannot control scopes it may be harder.

    Also, security might help you out without doing anything. If all the tenants items have proper security, meaning you have not used "NT Authority\Authenticated Users", "Everyone", "All Domain Users" or similar global groups which have the same SID in all domains, then search will just work. If you have items with any of the above groups, or web content sources which have public security, then multi-tenancy by security will not work and we are back to what I talked about first.. using scopes.

    1. First create a different content collection in FS4SP per tenant (New-FASTSearchContentCollection) and configure the Content SSA per tenant to index into the appropriate scope.

    2. Create a search scope per tenant to limit results to the content collection created in 1 (http://techmikael.blogspot.com/2011/07/creating-scope-to-limit-by-content.html)

    3. Configure your Core Results Web Part to limit queries to the scope in 2), as well as modify the default scopes for the search box in the upper right corner to include this filter.

    However, if you have searches happening outside of the SharePoint search boxes, it's hard to accomplish.

    Your other option would be to have one FS4SP farm per tenant... which is not really what you want.

    Thanks,
    Mikael Svenson


    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

    • Marked as answer by xyz2012 Sunday, January 13, 2013 1:37 PM
    Friday, January 11, 2013 8:10 PM

All replies

  • Hi,

    If you can control that scopes are added to each query it's not that hard. If search is done via the API and you cannot control scopes it may be harder.

    Also, security might help you out without doing anything. If all the tenants items have proper security, meaning you have not used "NT Authority\Authenticated Users", "Everyone", "All Domain Users" or similar global groups which have the same SID in all domains, then search will just work. If you have items with any of the above groups, or web content sources which have public security, then multi-tenancy by security will not work and we are back to what I talked about first.. using scopes.

    1. First create a different content collection in FS4SP per tenant (New-FASTSearchContentCollection) and configure the Content SSA per tenant to index into the appropriate scope.

    2. Create a search scope per tenant to limit results to the content collection created in 1 (http://techmikael.blogspot.com/2011/07/creating-scope-to-limit-by-content.html)

    3. Configure your Core Results Web Part to limit queries to the scope in 2), as well as modify the default scopes for the search box in the upper right corner to include this filter.

    However, if you have searches happening outside of the SharePoint search boxes, it's hard to accomplish.

    Your other option would be to have one FS4SP farm per tenant... which is not really what you want.

    Thanks,
    Mikael Svenson


    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

    • Marked as answer by xyz2012 Sunday, January 13, 2013 1:37 PM
    Friday, January 11, 2013 8:10 PM
  • Very interesting thanks for your reply.

    Sunday, January 13, 2013 1:37 PM