Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ColdFusion 11 SOLR索引记录明显错误_Solr_Coldfusion - Fatal编程技术网

ColdFusion 11 SOLR索引记录明显错误

ColdFusion 11 SOLR索引记录明显错误,solr,coldfusion,Solr,Coldfusion,我正在运行计划任务以刷新我的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 cfp

我正在运行计划任务以刷新我的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" />

选择不同的
SKU,
地位
'D:\PDFs'
CONCAT修剪(DOCID)
CONCAT“.PDF”作为文档文件
从MYTABLE

你知道这是什么原因吗?

在谷歌搜索更多关于这一点的信息时,我从睿智的雷蒙德·卡姆登那里看到了这篇帖子:


一旦我读到这篇文章,我仔细查看了正在使用的PDF,它们确实没有打开提取权限。我已经联系了供应商更新他们的PDF,这样他们就可以被正确地索引并包含在搜索结果中。

当我在谷歌上搜索更多关于这方面的信息时,我从wise Raymond Camden那里看到了这篇文章:


一旦我读到这篇文章,我仔细查看了正在使用的PDF,它们确实没有打开提取权限。我已与供应商联系更新他们的PDF,以便它们可以正确索引并包含在搜索结果中。

检查异常以了解更多详细信息您是否可以查看有关错误的更多详细信息?堆栈跟踪?确保所述PDF文档未被破坏,且可被CF访问。首先手动调用
@Miguel-F。我在日志中搜索,除了此处记录的内容外,找不到任何内容。@Alex好主意。我将尝试以这种方式调试一些文件。我认为这可能是权限问题。。。。正在调查…检查异常以了解更多详细信息您是否能够查看有关错误的更多详细信息?堆栈跟踪?确保所述PDF文档未被破坏,且可被CF访问。首先手动调用
@Miguel-F。我在日志中搜索,除了此处记录的内容外,找不到任何内容。@Alex好主意。我将尝试以这种方式调试一些文件。我认为这可能是权限问题。。。。调查。。。。