Fix SeedDMS fulltext indexing for PDF

This commit is contained in:
Disassembler 2018-05-10 13:55:06 +02:00
parent ecbc376360
commit 6ef869b6c5
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -23,7 +23,7 @@
<notification enableNotificationAppRev="true" enableOwnerNotification="false" enableNotificationWorkflow="false"/> <notification enableNotificationAppRev="true" enableOwnerNotification="false" enableNotificationWorkflow="false"/>
<server coreDir="" luceneClassDir="" contentOffsetDir="1048576" maxDirID="0" updateNotifyTime="86400" extraPath="/srv/seeddms/pear" cmdTimeout="30" maxExecutionTime="900"/> <server coreDir="" luceneClassDir="" contentOffsetDir="1048576" maxDirID="0" updateNotifyTime="86400" extraPath="/srv/seeddms/pear" cmdTimeout="30" maxExecutionTime="900"/>
<converters target="fulltext"> <converters target="fulltext">
<converter mimeType="application/pdf">pdftotext -enc UTF-8 -nopgbrk %s -'</converter> <converter mimeType="application/pdf">pdftotext -enc UTF-8 -nopgbrk %s -</converter>
<converter mimeType="text/rtf">unoconv -d document -f txt --stdout %s</converter> <converter mimeType="text/rtf">unoconv -d document -f txt --stdout %s</converter>
<converter mimeType="application/msword">unoconv -d document -f txt --stdout %s</converter> <converter mimeType="application/msword">unoconv -d document -f txt --stdout %s</converter>
<converter mimeType="application/vnd.oasis.opendocument.text">unoconv -d document -f txt --stdout %s</converter> <converter mimeType="application/vnd.oasis.opendocument.text">unoconv -d document -f txt --stdout %s</converter>