faindexrun - index some files from the index pending queue
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.
-c abs path to config file, default is /etc/faindex.conf -m max files to index in this run, default is 2
-d debug info on
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.
See faiupdate
Leo Charre leocharre at cpan dot org
FileArchiveIndexer PDF::OCR::Thorough::Cached
To install FileArchiveIndexer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FileArchiveIndexer
CPAN shell
perl -MCPAN -e shell install FileArchiveIndexer
For more information on module installation, please visit the detailed CPAN module installation guide.