If new items are not being indexed or included in search results in SharePoint, it usually indicates an issue with the search crawl, indexing process, search service, or permissions. This means that SharePoint is not properly crawling or updating the index with newly added content.
Below is a detailed and step-by-step troubleshooting guide to diagnose and resolve this issue.
Step 1: Verify That Content Exists and Is Accessible
Before troubleshooting, ensure that the content you’re trying to search for actually exists in SharePoint.
- Manually browse the document library or list where the missing content is stored.
- If you are searching for a specific document or item, copy its exact title and try searching for it using that title.
- If the content exists but does not appear in search, proceed to the next steps.
Step 2: Check Search Crawl Status
If search results are not updating, it may be due to the search crawl not running or failing.
2.1: Open the Search Crawl Log
- Open Central Administration.
- Click Manage Service Applications.
- Select Search Service Application.
- Under Crawling, click Crawl Log.
- Look for errors such as:
- Access Denied – Permissions issue.
- Crawl Component Not Available – Search component failure.
- Error Retrieving Content – Index corruption or connectivity issue.
If there are errors, proceed with fixing them in the upcoming steps.
Step 3: Check if the Content Source is Configured Correctly
SharePoint uses content sources to determine what content to index.
- Open Central Administration.
- Go to Search Service Application > Content Sources.
- Ensure that the correct site URL is listed in the content source.
- If the site URL is missing, add it manually:
- Click New Content Source.
- Select SharePoint Sites.
- Enter the Site URL.
- Click Start Full Crawl.
Step 4: Perform a Manual Full Crawl
If new items are not being indexed, forcing a full crawl can help.
- Open Central Administration.
- Go to Search Service Application > Content Sources.
- Select SharePoint Sites.
- Click Start Full Crawl.
- Wait for the crawl to complete and check if search results update.
Step 5: Verify Search Indexing Settings for Libraries and Lists
Sometimes, specific document libraries or lists are excluded from search indexing.
5.1: Check Library/List Search Settings
- Navigate to the document library or list where the missing content exists.
- Click Library Settings (or List Settings).
- Click Advanced Settings.
- Scroll to the Search section and ensure:
- “Allow items from this document library to appear in search results?” is set to Yes.
- Click OK and test search again.
Step 6: Check Search Indexing Status
If the search index is corrupted, new content will not be indexed.
- Open Central Administration.
- Go to Search Service Application.
- Click Index Reset.
- Click Reset Now (Caution: This will remove the entire index and require a full crawl).
- After resetting, perform a full crawl.
Step 7: Verify Crawl Account Permissions
The Crawl Account must have the correct permissions to read content.
- Open Central Administration.
- Click Security > Configure Service Accounts.
- Find the account used for the Search Service Application (e.g.,
SP_Crawl
). - Ensure this account has Read access to all site collections.
- If necessary, grant permissions using PowerShell:
$web = Get-SPWebApplication "http://YourSiteURL" $web.GrantAccessToProcessIdentity("DOMAIN\SP_Crawl")
Step 8: Ensure Managed Properties Are Configured Correctly
Search results rely on Managed Properties to filter and display content.
- Open Central Administration.
- Go to Search Service Application > Search Schema.
- Ensure the following Managed Properties exist:
- Title
- Content
- Author
- Modified Date
- If any are missing, create new mappings.
Step 9: Restart the Search Service
If the search service is malfunctioning, restarting it may help.
- Open Central Administration.
- Go to System Settings > Manage Services on Server.
- Find:
- SharePoint Server Search
- Search Host Controller Service
- If they are stopped, click Start.
You can also restart via PowerShell:
Restart-Service -Name OSearch15 -Force
Step 10: Check SharePoint Search Logs for Errors
If indexing is still not working, check the SharePoint ULS logs.
- Open SharePoint Management Shell.
- Run the following command:
Get-SPLogEvent | Where-Object { $_.Category -eq "Search" } | Select-Object -First 20
- Look for errors related to indexing and search.
Step 11: Verify SQL Server Permissions
If search still isn’t indexing new content, check SQL Server settings.
- Open SQL Server Management Studio (SSMS).
- Expand Databases and check:
- Search Administration Database (
Search_Service_Application_DB
). - Crawl Database (
Search_Service_Application_CrawlStore
). - Analytics Database (
Search_Service_Application_AnalyticsStore
).
- Search Administration Database (
- Ensure that the Search Service Account has:
- DB_OWNER and DB_ACCESSADMIN roles.
Step 12: Rebuild the Search Service Application (If Needed)
If all else fails, you may need to delete and recreate the Search Service Application.
12.1: Delete the Existing Search Service Application
- Open Central Administration.
- Go to Manage Service Applications.
- Select Search Service Application and click Delete.
12.2: Create a New Search Service Application
- Open Central Administration > Manage Service Applications.
- Click New > Search Service Application.
- Enter:
- Service Name (e.g.,
Search_Service_New
). - Service Account (Select an existing or create a new one).
- Service Name (e.g.,
- Click OK and perform a Full Crawl.
Step 13: Restart the SharePoint Server
If search is still not indexing, restart the server.
Restart-Computer -Force
After restarting, verify indexing using:
Get-SPEnterpriseSearchServiceInstance