雖然我試圖索引頁,我在Solr管理屏幕得到錯誤Solr的索引TYPO3的給錯誤
===================================================== `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'` =====================================================
的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] =>` ====================================================
我已經配置根據typo3管理員的「狀態報告」頁面,solr擴展和設置看起來不錯,但出現錯誤並且沒有任何索引。
有人可能會建議如果有什麼我缺少設置solrconfig.xml和schema.xml文件。實際上這些位於我的solr home,位於'/var/solr../../example/solr/collection1/conf'和'/opt/lampp/htdocs/../../ext/../ solr/resources/conf /'。我對使用哪些配置以及typo3中的solr擴展如何通過tomcat與solr搜索引擎對話感到困惑。
我使用:
SOLR 4.2.0 Solr的擴展2.8.2 LAMPP:1.8.1 的Tomcat 6
請讓我知道如果你需要任何其他信息,我是新來的這些技術需要緊急設置。
在此先感謝
使用Solr 4.0的發佈,很多的前一選項已被棄用,由於這錯誤正在發生。 – Birla 2013-08-22 06:18:25