Improve rcldoc filter and switch back to using it for indexing instead of direct antiword exec. This is slightly slower but it does catch a number of .doc files which would not be indexed otherwise

This commit is contained in:
Jean-Francois Dockes
2011-05-10 09:03:13 +02:00
parent ce607032fa
commit dd8f42253c
5 changed files with 49 additions and 17 deletions
+4 -2
View File
@@ -5,8 +5,10 @@ topdir=`dirname $0`/..
initvariables $0
recollq '"Evenements et programme 2006"' 2> $mystderr |
egrep -v '^Recoll query: ' > $mystdout
(
recollq '"Evenements et programme 2006"'
recollq 'pcx11 manuel de programmation iamactuallyanrtf'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
+2
View File
@@ -1,3 +1,5 @@
2 results
application/msword [file:///home/dockes/projets/fulltext/testrecoll/msword/programme.doc] [programme.doc] 58880 bytes
application/msword [file:///home/dockes/projets/fulltext/testrecoll/zip/misc.zip] [misc.zip] 168155 bytes
1 results
application/msword [file:///home/dockes/projets/fulltext/testrecoll/msword/IAmActuallyAnRTF.DOC] [DOC PROGRAMMEUR PCX9] 85381 bytes