In certain scenarios, you might want to index multiple root items on your Sitecore content tree. This is a common request in Sitecore, and the SearchStax Site Search solution for Sitecore supports it.
Let's assume you've got the following example and want to index everything under Home/About and everything under Home/Bios, but not the other items.
Configuring Multiple Roots
Open the /App_Config/Modules/SearchStax/SearchStax.Connector.Provider.config configuration file and locate your index. You'll have a
Start by changing the
Rebuilding the Index
Like any other configuration change in Sitecore, this will restart your application. Wait until Sitecore is responsive again. Then open the Indexing Manager to rebuild your index:
Verifying the Results
Once the rebuild is done, you can open your search page and confirm that only items under those two roots are being indexed: