Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.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
Tomcat 输入错误3中的Solr索引_Tomcat_Typo3_Solr4_Lampp - Fatal编程技术网

Tomcat 输入错误3中的Solr索引

Tomcat 输入错误3中的Solr索引,tomcat,typo3,solr4,lampp,Tomcat,Typo3,Solr4,Lampp,当我尝试索引页面时,我在solr admin屏幕中遇到错误 ===================================================== `11:20:50 SEVERE SolrCore org.apache.solr.common.SolrException: ERROR: [doc=f6baa2fb88804967909bd23e6e25f770facd1cce/pages/1608/0/0/0] unknown field 'site' 11:2

当我尝试索引页面时,我在solr admin屏幕中遇到错误

===================================================== `11:20:50 SEVERE SolrCore org.apache.solr.common.SolrException: ERROR: [doc=f6baa2fb88804967909bd23e6e25f770facd1cce/pages/1608/0/0/0] unknown field 'site' 11:20:51 WARNING XMLLoader Unknown attribute id in add:allowDups 11:20:51 WARNING XMLLoader Unknown attribute id in add:overwritePending 11:20:51 WARNING XMLLoader Unknown attribute id in add:overwriteCommitted 11:20:51 SEVERE SolrCore org.apache.solr.common.SolrException: ERROR: [doc=f6baa2fb88804967909bd23e6e25f770facd1cce/pages/1607/0/0/0] unknown field 'site' 11:33:31 SEVERE SolrCore org.apache.solr.common.SolrException: undefined field type 11:33:31 SEVERE SolrCore org.apache.solr.common.SolrException: Unknown commit parameter 'waitFlush'` ===================================================== ===================================================== `11:20:50严重SolrCore org.apache.solr.common.SolrException:错误:[doc=F6BAA2FB88804967909BD23E6E25F770FACD1CE/pages/1608/0/0]未知字段“站点” 11:20:51警告:add:allowDups中的XMLLoader未知属性id 11:20:51警告:添加:overwritePending中的XMLLoader未知属性id 11:20:51警告添加:overwriteCommitted中的XMLLoader未知属性id 11:20:51严重SolrCore org.apache.solr.common.SolrException:错误:[doc=F6BAA2FB88804967909BD23E6E25F770FACD1CE/pages/1607/0/0]未知字段“站点” 11:33:31严重SolrCore org.apache.solr.common.SolrException:未定义的字段类型 11:33:31严重SolrCore org.apache.solr.common.SolrException:未知的提交参数“waitFlush”` ===================================================== typo3开发人员日志显示以下内容:

==================================================== /opt/lampp/steriauk/typo3conf/ext/solr/classes/indexqueue /class.tx_solr_indexqueue_pageindexer.php tx_solr_indexqueue_Item Object ( [indexQueueUid:protected] => 45992 [rootPageUid:protected] => 1 [type:protected] => pages [indexingConfigurationName:protected] => pages [changed:protected] => 1366715241 [indexingProperties:protected] => Array ( ) [indexingPropertiesLoaded:protected] => 1 [hasIndexingProperties:protected] => [recordUid:protected] => 209 [record:protected] => Array ( [uid] => 209 [pid] => 205 [t3ver_oid] => 0 [t3ver_id] => 0 [t3ver_wsid] => 0 [t3ver_label] =>` ==================================================== ==================================================== /opt/lampp/steriauk/typo3conf/ext/solr/classes/indexqueue /class.tx_solr_indexqueue_pageindexer.php tx_solr_indexqueue_项目对象 ( [indexQueueUid:protected]=>45992 [rootPageUid:protected]=>1 [类型:受保护]=>页面 [索引配置名称:受保护]=>页面 [更改:受保护]=>1366715241 [索引属性:受保护]=>数组 ( ) [indexingPropertiesLoaded:protected]=>1 [hasIndexingProperties:受保护]=> [recordUid:受保护]=>209 [记录:受保护]=>阵列 ( [uid]=>209 [pid]=>205 [t3ver_oid]=>0 [t3ver_id]=>0 [t3ver_wsid]=>0 [t3ver_标签]=>` ==================================================== 我已经配置了solr扩展,按照typo3 admin上的“状态报告”页面,设置看起来很好,但是出现了错误,没有任何内容被索引

有人能告诉我在设置solrconfig.xml和schema.xml文件时是否遗漏了什么吗?实际上,这些文件位于我的solr主页中,它位于“/var/solr../。/example/solr/collection1/conf”和“/opt/lampp/htdocs/。/../ext/。/solr/resources/conf/”。我不清楚在t中使用了哪种配置以及solr扩展ypo3通过tomcat与solr搜索引擎对话

我正在使用:

SOLR 4.2.0 Solr扩展2.8.2 Lampp:1.8.1 雄猫6

请让我知道,如果你需要任何其他信息,因为我是这些技术的新手,需要紧急设置


提前感谢

据我所知,solr扩展还不支持solr 4.x

在需求范围内,以下版本是受支持的最新版本:SOLR3.6

退房:

随着Solr 4.0的发布,许多早期的选项都被弃用,因为发生了此错误。