Creating a Search Service Application in SharePoint 2016 requires multiple steps, including setting up the required accounts, creating the application, configuring its components, and ensuring it functions properly. Follow these steps carefully:
Step 1: Prepare the Environment
1.1. Ensure Prerequisites Are Met
- You must have SharePoint Server 2016 installed.
- Ensure you have SQL Server 2012 or later installed and configured.
- A Managed Service Account for the Search Service Application should be created in Active Directory.
Step 2: Create the Search Service Application
2.1. Open SharePoint Central Administration
- Log in to your SharePoint 2016 server with Farm Administrator rights.
- Open Central Administration.
- Navigate to Manage Service Applications under the Application Management section.
2.2. Create a New Search Service Application
- Click on New and select Search Service Application.
- Provide a Name for the Search Service Application (e.g.,
SearchServiceApp
). - Choose a Search Service Account (Preferably a Managed Account created earlier).
- Under the Application Pool section:
- Select Create a new application pool.
- Provide a name (e.g.,
SearchAppPool
). - Choose Configurable and select the Managed Account.
- For the Search Admin Database, specify:
- Database Server (e.g.,
SQLServerName
). - Database Name (default is
Search_Service_Application_DB
). - Authentication (leave as Windows Authentication).
- Database Server (e.g.,
- Configure the Analytics Reporting Database:
- Provide the database name (
Search_Service_Application_AnalyticsReportingStore
). - Ensure the correct SQL Server instance is selected.
- Provide the database name (
- Configure the Crawl Store Database:
- Provide the database name (
Search_Service_Application_CrawlStoreDB
). - Ensure SQL Server is correct.
- Provide the database name (
- Configure the Link Database:
- Provide the database name (
Search_Service_Application_LinksStoreDB
). - Ensure SQL Server is correct.
- Provide the database name (
- Leave the Search Index Location as the default or change if necessary.
- Click OK to create the Search Service Application.
Step 3: Configure the Search Service Application
3.1. Start Search Service
- Go to Central Administration > Manage Services on Server.
- Ensure the following services are running:
- SharePoint Server Search
- Search Query and Site Settings Service
- If stopped, click Start.
3.2. Assign Service Application Proxy
- Go to Central Administration > Manage Service Applications.
- Select the newly created Search Service Application.
- Click on Administrators from the ribbon.
- Add appropriate user accounts and assign required permissions.
- Click OK.
3.3. Configure Search Topology
- Navigate to Central Administration > Manage Service Applications.
- Click on your Search Service Application.
- Select Search Administration from the left panel.
- Under Topology, click on Manage Search Topology.
- Ensure all components (Admin, Crawler, Content Processing, Analytics, Query Processing, and Indexing) are properly assigned to servers.
- Click Apply Topology.
Step 4: Configure Content Sources and Crawl
4.1. Set Up Content Sources
- In Search Administration, click on Content Sources.
- By default, “Local SharePoint Sites” is created.
- You can Edit it or Create a New Content Source.
- Add the URLs to be crawled (e.g.,
https://yoursharepointsite
). - Select the Crawl Schedule (Full/Incremental).
- Click OK.
4.2. Start a Full Crawl
- Go to Content Sources.
- Click the Start Full Crawl option.
- Wait for the crawl to complete.
Step 5: Test and Verify Search Service
5.1. Test Search Functionality
- Go to a SharePoint site collection.
- Use the Search Box to perform a search.
- If results appear, the configuration is successful.
5.2. Verify Crawl Logs
- In Search Administration, go to Crawl Logs.
- Check for errors or warnings.
- Troubleshoot any issues as needed.
Step 6: Additional Configurations (Optional)
- Create Search Schema: Modify managed properties.
- Configure Query Rules: Improve search relevance.
- Set Result Sources: Define different search results.
- Enable Continuous Crawl: Keep index updated.