adjust the test config for the new ocr
This commit is contained in:
@@ -42,6 +42,7 @@ pdfextrameta = pdf:Producer dc:identifier
|
||||
pdfextrametafix = /home/dockes/projets/fulltext/recoll/tests/config/pdfemf.py
|
||||
|
||||
[/home/dockes/projets/fulltext/testrecoll/pdf]
|
||||
ocrprogs = tesseract
|
||||
pdfocr = 1
|
||||
pdfocrlang = eng
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ export LC_ALL=en_US.UTF-8
|
||||
makeindex() {
|
||||
echo "Zeroing Index"
|
||||
rm -rf $RECOLL_CONFDIR/xapiandb $RECOLL_CONFDIR/aspdict.*.rws
|
||||
rm -rf $RECOLL_CONFDIR/ocrcache
|
||||
echo "Indexing"
|
||||
recollindex -c $RECOLL_CONFDIR -z
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user