SearchWP WP Document Revisions Integration is an official SearchWP extension that connects WordPress's powerful search engine with the WP Document Revisions plugin, turning your site into a true document management system with advanced content search.
WP Document Revisions turns WordPress into a document management platform by introducing a structured workflow for handling files like PDFs. Each document is stored as a custom content type and can have multiple revisions, where each revision is associated with an uploaded file. The problem is that the truly searchable content is usually inside the attached file, not in the WordPress editor. Native WordPress search — and even basic SearchWP configurations — cannot detect or index the text contained in those files.
This integration solves that limitation automatically: it retrieves the file from the most recent revision of each document, extracts its content (such as text from PDFs, Word documents, plain text files, RTF, Excel, and PowerPoint) and includes it in the SearchWP index. The extracted text is stored in a custom field with the key swp_wp_document_revision, which is indexed and can influence search result relevance just like any other custom field.
The main benefits of this extension include:
This extension is ideal for sites with document libraries, knowledge bases, legal repositories, manuals, contracts, and corporate policies where users need to search directly within file content. If your organization manages dozens or hundreds of documents with WP Document Revisions, this integration ensures that every word inside those files is findable from your site's search.