Search engine

What does the search box

Search will look for documents containing the given string(s) space separated (using OR statement) in the title, filename, document name, first five meta data created fields, and document content (if activated)

Activating document content

You can switch on/off the overall document content indexaion with $searchcontent (true or false).

Recognized types of files by search engine

You can restrict (no add) the types of file for which content will be indexed, using $searchextensions variable (contains list of file extensions)

Working directory

The search engine makes use of temporary directory to process text extraction of your files. Ensure eDMS (Apache process) has full permissions on the defined directory in $workingdir (no trailing slash).

Word Documents

The search engine makes use of Antiword as external tool to extract text from .doc documents. Configure the path to this tool through $antiwordpath

PDF Documents

The search engine makes use of pdftotext as external tool to extract text from .pdf documents. Configure the path to this tool through $pdftotextpath

Search engine process

Uploaded documents will be referenced in a job queue to be processed (text content indexation) by the searchengine. The search engine must be running as an external process so that queued documents are processed. It is made as an external process to avoid that client browsers must wait end of document processing (which may take some time).

Configure the batch/shell script that will run the search engine: edit searchengine.bat and set the path to you php executable in the command line: e.g.C:\php\php searchengine.php. For unix implementation, translate the batch file in a shell script e.g. create a script containing /usr/local/bin/php searchengine.php

Ensure that searchengine is running : launch searchengine.bat or unix shell script and let it run forever. Ensure your system starts this script on reboot.

Request full indexation

If you want the search engine to process all your existing documents, you can trigger full indexation through the Settings menu (accessible only to administrator profile)