Search Files

jrglasgow - March 29, 2008 - 01:55
Sample Search

Search Files 6.x-2.x allows searching for files in node attachments and in arbitrary directories. Text is extracted by externally provided helper applications.

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.

Version 2 of this module has been sponsored by: Actual Size Creative and OpenPKG GmbH.

Releases

Official releasesDateSizeLinksStatus
6.x-2.0-beta42009-Sep-0520.56 KBSupported for 6.xThis release is supported but is not currently the recommended release for 6.x.
6.x-1.62008-Jun-2013.49 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.22009-Jan-1013.41 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-2.x-dev2009-Sep-1620.58 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.