You upload a PDF file to a SharePoint document library, but the search results do not show it. This happens even after waiting several minutes. The cause is often a delay in search indexing or a misconfiguration in the library settings. This article explains why SharePoint search may not index new PDFs immediately and provides a step-by-step fix to force re-indexing and verify search settings.
Key Takeaways: Fixing Search Indexing for New PDFs in SharePoint
- SharePoint admin center > Search > Manage Search Schema: Confirm that the PDF file extension is included in the indexed file types.
- Library settings > Advanced Settings > Re-index Document Library: Forces an immediate crawl of the library content.
- Site collection admin > Search and offline availability > Reindex site: Triggers a full re-index of the entire site to include new PDFs.
Why SharePoint Search Does Not Index New PDFs Immediately
SharePoint search relies on a scheduled crawl process to scan content and update the search index. When you upload a new PDF file, the system does not automatically add it to the index right away. The crawl schedule depends on the search service application settings. In SharePoint Online (Microsoft 365), the crawl interval can be up to 15 minutes. In SharePoint Server on-premises, the interval may be set to every 5 minutes or longer.
A second common cause is that the PDF file extension is not included in the list of indexed file types. If the search schema does not have the PDF extension listed, the search engine will skip all PDF files during the crawl. This setting is managed in the Search Schema under the SharePoint admin center.
A third cause is that the document library itself is excluded from search results. Each library has a setting called “Allow this document library to appear in search results?” that must be set to Yes. If this setting is No, the library content will never appear in search results, no matter how many crawls you run.
Finally, custom metadata or content types may interfere with indexing. If the PDF uses a content type that is not configured for search, the file may not be indexed. The steps below address each of these causes.
Steps to Force Re-Indexing and Verify Search Settings
- Check that PDF is an indexed file type
Go to SharePoint admin center > Search > Manage Search Schema. Under the File Types tab, confirm that PDF is listed. If it is missing, click Add File Type, enter PDF, and click OK. Wait for the next crawl or force a re-index. - Verify the library search setting
Navigate to the document library containing the PDF. Click the gear icon (Settings) > Library settings. Under General Settings, click Advanced settings. For the option “Allow this document library to appear in search results?”, select Yes. Click OK. - Re-index the document library
Still in Advanced settings, scroll down and click the button labeled “Re-index Document Library”. A confirmation dialog appears. Click Reindex. This triggers a full crawl of that library during the next search crawl cycle. - Re-index the entire site
Go to Site settings (gear icon > Site Information > View all site settings). Under Search, click Search and offline availability. Click Reindex site. Confirm the action. This forces a full crawl of the entire site collection. - Manually request a crawl in SharePoint Server (on-premises)
If you use SharePoint Server, open Central Administration > Application Management > Manage Service Applications. Click the Search Service Application. Under Crawling, click Content Sources. Select your content source and click Start Full Crawl. This immediately indexes all content. - Check for custom content type issues
If the PDF uses a custom content type, go to Site settings > Site content types. Select the content type used by the PDF. Click Advanced settings. Ensure the option “Allow this content type to appear in search results?” is set to Yes. Save changes.
If Search Still Does Not Find the PDF After the Main Fix
Search results show older files but not the new PDF
This indicates that the crawl completed but the index did not update for the new file. In SharePoint Online, wait up to 15 minutes after forcing a re-index. If the file still does not appear, check if the PDF is checked out. A checked-out file is not indexed. Go to the library, hover over the PDF, click the ellipsis (three dots), and select Check In if it shows as checked out.
PDF files from other libraries appear but not from this library
The library may have unique permissions that block the search crawler account. In SharePoint Server, the crawl account must have Read access to the library. In SharePoint Online, the system account has access by default, but if the library is set to “Only users with specific permissions can access this document”, the crawler may be blocked. Review the library permissions and ensure the Everyone except external users group has at least Read access.
Search returns no results at all for any file
This is a broader search service issue. In SharePoint Online, go to SharePoint admin center > Search > Manage Search Schema. Click the Crawl Rules tab. Ensure there is no rule that excludes the site path. In SharePoint Server, check the search service application status in Central Administration. Restart the search service if necessary.
Document Library Search Settings vs Site Search Settings
| Item | Document Library Setting | Site-Level Setting |
|---|---|---|
| Location | Library settings > Advanced settings | Site settings > Search and offline availability |
| Controls | Whether the library appears in search results | Re-index entire site and offline availability |
| Effect on PDFs | If No, PDFs in this library are invisible to search | Re-index forces crawl of all libraries in site |
| Change takes effect | After next crawl | Immediately after re-index request |
You can now force re-indexing of a SharePoint library or site and verify that PDF files are included in the search schema. After applying the steps above, upload a new PDF and search for it after 15 minutes. For ongoing issues, check the crawl log in the SharePoint admin center under Search > Crawl Log. This log shows which files failed to index and why.