我正在运行一个计划好的任务来刷新SOLR集合。coldfusion-out.log文件有以下几个错误:
Jan 12, 2016 10:10:21 AM Warning [ajp-bio-8014-exec-5] - WARNING: Could not index D:\PDFs\9310.PDF in SOLR. Check the exception for more details: An error occurred during GETINFO operation in the cfpdf tag.
Jan 12, 2016 10:10:51 AM Warning [ajp-bio-8014-exec-5] - WARNING: Could not index D:\PDFs\9887.PDF in SOLR. Check the exception for more details: An error occurred during the EXTRACTTEXT operation in the cfpdf tag.检索文件位置的任务代码:
<cfsetting requesttimeout="3600" />
<cfquery name="getDocs" datasource="#APPLICATION.DataSource#">
SELECT DISTINCT
SKU,
STATUS,
'D:\PDFs\'
CONCAT TRIM(DOCID)
CONCAT '.PDF' AS document_file
FROM MYTABLE
</cfquery>
<cfindex
query="getDocs"
collection="prudocs3"
action="refresh"
type="file"
key="document_file"
custom1="SKU"
custom2="STATUS" />知道是什么原因造成的吗?
发布于 2016-01-22 16:17:34
在搜索这方面的更多信息时,我从聪明的雷蒙德·卡姆登( Raymond )那里看到了这篇文章:
http://www.raymondcamden.com/2014/07/11/Issue-with-CFINDEX/
一旦我读了这篇文章,我就仔细地看了一下正在使用的PDF,它们确实没有打开提取权限。我已经联系了供应商更新他们的PDF,以便他们可以适当地索引和包括在搜索结果。
https://stackoverflow.com/questions/34747307
复制相似问题