For the complete documentation index, see llms.txt. This page is also available as Markdown.

PDF Indexes and Multisearchers

If you want to index PDF files and search for them, you will need to use the UmbracoExamine.Pdf extension package.

Installation

Install with NuGet:dotnet add package Umbraco.ExaminePDF

Installing the package creates a new Examine index called PDFIndex, which appears in the Examine Management dashboard under the Settings section. This index extracts and indexes the text content of PDF files uploaded to the Media section, not their filenames.

PDFIndex index under Examine Management section

To get results, search for words that appear inside the PDF. Scanned or image-based PDFs have no extractable text and will return no results.

PDFIndex Search Results

Multi-index searchers

A multi-index searcher is a searcher that can search multiple indexes. The multi-index searcher can be helpful when you want to search both the external and internal indexes.

You can register a multi-index searcher with the ExamineManager on startup:

With this approach, the multi-index searcher will show up in the Examine Management dashboard.

MultiSearcher Search in the "Examine Management" dashboard

The multi-index searcher can be resolved in code from the ExamineManager:

Last updated

Was this helpful?