Search Files allows searching for files in node attachments and in arbitrary directories. Text is extracted by externally provided helper applications.
In order to extract text, this module calls 'helper apps' such as cat and pdftotext. Drupal administrators can configure any helpers they like. Helper apps need to be installed on the server and need to be setup to print to stdout.
Most Linux distributions have the following helper apps available:
- cat - generic text (txt) files
- pdftotext - Adobe Acrobat (pdf) Documents
- catdoc - Microsoft Word (doc) Documents
- xls2csv - Microsoft Excel (xls) files
- catppt - Microsoft Power Point (ppt) files
- unrtf - Rich Text Format (rtf) files
For more information about helpers and how to configure them, see hints for Linux and Windows. It is also possible to configure helpers in a shared hosting environment.
History and Development
The 6.x-2.x versions combine Search Files, previously only capable of indexing files in directories, with Search Attachments, only capable of indexing files in attachments. Outcome is three modules search_files_directories and search_files_attachments with common code moved to search_files. The modules can be enabled/disabled individually with search_files being required by any of the two others.
- Maintenance status: Seeking co-maintainer(s)
- Development status: Maintenance fixes only
- Module categories: File Management, Search
- Reported installs: 1,384 sites currently report using this module. View usage statistics.
- Downloads: 31,453
- Last modified: November 5, 2015
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.