SharePoint Document Issues

Fix SharePoint Search Not Returning Exact PDF Phrases

Kushani NimanthikaKushani Nimanthika Oct 26, 2026 868 views

Question details

The user needs to resolve an issue where SharePoint search returns documents based on individual keywords rather than exact phrase matches from PDF files.

Fix SharePoint Search Not Returning Exact PDF Phrases
Product
SharePoint
Device & OS
not provided
Scenario
Searching for specific exact phrases within PDF documents stored in a SharePoint document library.
Observed behavior
Search results display PDFs containing individual search terms spread across the content or metadata, rather than strictly matching the complete requested phrase.
Before you start

Ensure you have site owner or administrator permissions, as these are required to trigger a reindex of document libraries or the entire SharePoint site.

Solution 1Recommended

Check PDF Metadata and Reindex the SharePoint Library

Verify if the individual terms exist in the document's metadata or hidden text, and reindex the specific library to update search results.

SharePoint Online Search indexes both file content and metadata during its crawl. When exact phrases aren't returning correctly, the individual terms might be stored in the file's properties or metadata.

Reindexing the specific library forces SharePoint to recrawl and update its search index for those files.

1
Verify PDF Content and Metadata

Open the affected PDF files and verify if the individual search terms exist in the document properties, metadata fields, or hidden text layers instead of just the main text body.

2
Access Library Settings

Navigate to the SharePoint document library containing the PDFs. Click the Settings (gear) icon at the top right, select 'Library settings', and then click 'More library settings'.

3
Open Advanced Settings

Under the General Settings section on the Library Settings page, click on 'Advanced settings'.

4
Reindex Document Library

Scroll down to the 'Reindex Document Library' section and click the 'Reindex Document Library' button. Confirm the action when prompted to mark the library for a full crawl.

5
Wait for Crawl Completion

Allow time for the background crawl to process the library. Once complete, perform your exact phrase search again by placing quotation marks around the specific phrase (e.g., "Departure Only").

Check PDF Metadata and Reindex the SharePoint Library
Crawl Wait Time: In SharePoint Online, crawling happens automatically in the background. It can take anywhere from a few minutes to 24 hours for the reindexing process to fully update search results.
Free Microsoft Office alternative

Manage and Edit PDFs Seamlessly with WPS Office

While troubleshooting SharePoint server-side indexing, you can rely on WPS Office to create, edit, and manage your PDF documents. WPS Office is a free, lightweight, and highly compatible suite that perfectly handles Office documents and PDFs, ensuring your text and metadata are accurate before uploading to any cloud storage.

  1. 1. Download and Install: Get WPS Office from the official website and follow the installation wizard.
  2. 2. Open Your PDF: Launch WPS Office, click on 'Open', and select the PDF document you want to inspect or edit.
  3. 3. Search and Edit: Use the built-in search functionality (Ctrl+F) to locate exact phrases, or use the PDF editing tools to modify text and metadata accurately.
Edit and search exact phrases within PDF documents effortlessly before uploadingFully compatible with Microsoft Office formats (Word, Excel, PowerPoint) and Adobe PDFLightweight application with a familiar, easy-to-use interfaceSeamless integration with local and cloud storage for efficient document management
QA img-9

Frequently Asked Questions

How do I force SharePoint to search for an exact phrase?

To search for an exact phrase in SharePoint, enclose your search terms in double quotation marks (e.g., "Departure Procedures"). This tells the search engine to look for the words in that exact order rather than treating them as independent keywords.

How long does it take for SharePoint to reindex a document library?

The time it takes to reindex a SharePoint document library varies based on the size of the library and the current server load. It typically ranges from a few minutes to up to 24 hours for SharePoint Online to complete the background crawl process.

Why does SharePoint search find text in some PDFs but not others?

This usually happens if the PDF is an image-based scan without an embedded text layer (OCR), preventing the crawler from reading the text. Additionally, search results depend on the latest crawl status; recently added or modified PDFs might not be indexed yet.

Does SharePoint search PDF metadata as well as content?

Yes, SharePoint indexes both the visible content of the PDF and its metadata (such as Author, Title, and custom document properties). If search terms exist in the metadata but not the content, the document will still appear in search results.