adjust the test config for the new ocr

This commit is contained in:
Jean-Francois Dockes 2020-02-28 11:13:56 +01:00
parent 1fb9421163
commit 1f0296a873
3 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -19,6 +19,7 @@
.libs
.vs
\#*
__pycache__
build-*-Debug
build-*-Release
libtool
@ -90,6 +91,7 @@ tests/config/idxstatus.txt
tests/config/index.pid
tests/config/missing
tests/config/xapiandb
tests/config/ocrcache
tests/indexedmimetypes/aspdict.en.rws
tests/indexedmimetypes/idxstatus.txt
tests/indexedmimetypes/index.pid

View File

@ -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

View File

@ -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
}