Leo Charre > FileArchiveIndexer-1.29 > faindexrun

Download:
FileArchiveIndexer-1.29.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

faindexrun - index some files from the index pending queue

DESCRIPTION ^

This is an example indexer using FileArchiveIndexer. It turns PDF documents into text using PDF::OCR::Thorough from PDF::OCR

This script should run nightly This script gets a list of files that need indexing from a queue and runs it

This is part of FileArchiveIndexer

Optionally, you can provide a list of paths as arguments.. if the files are inside the pending list, it will index.

PARAMETERS ^

   -c abs path to config file, default is /etc/faindex.conf
   -m max files to index in this run, default is 2

OPTIONS ^

   -d debug info on   

EXAMPLE USAGE ^

To index next 4 files pending..

        faindexrun -m 4

To index a specific file

        faindexrun ./myfile.pdf

If the file is already indexed, or locked, will not reindex. The file must already be in the files table.

CONFIGURATION ^

See faiupdate

AUTHOR ^

Leo Charre leocharre at cpan dot org

SEE ALSO ^

FileArchiveIndexer PDF::OCR::Thorough::Cached