0
A
回答
1
Solr的細胞,又名ExtractingRequestHandler,使用Apache Tika幕後,後者可以容易地集成到一個DataImportHandler:
<dataConfig>
<!-- use any of type DataSource<InputStream> -->
<dataSource type="BinURLDataSource"/>
<document>
<!-- The value of format can be text|xml|html|none. this is the format in which the body is emited (the 'text' field) . The implicit field 'text' will have that format.
default value is 'text' (if not specified) . format="none" means body is not emited-->
<entity processor="TikaEntityProcessor" tikaConfig="tikaconfig.xml" url="${some.var.goes.here}" format="text">
<!--Do appropriate mapping here meta="true" means it is a metadata field -->
<field column="Author" meta="true" name="author"/>
<field column="title" meta="true" name="docTitle"/>
<!--'text' is an implicit field emited by TikaEntityProcessor . Map it appropriately-->
<field column="text"/>
</entity>
<document>
</dataConfig>
此功能是在SOLR-1358實現。
相關問題
- 1. Solr數據導入處理程序調度程序錯誤
- 2. Solr的數據導入處理程序無法索引數據
- 3. 從Solr數據導入處理程序中插入MySQL
- 4. Solr的:數據導入的處理程序沒有從XML
- 5. SOLR數據導入處理程序跳過或忽略請求
- 6. 爲什麼Solr數據導入處理程序散列uniqueKey?
- 7. Spring-data-solr數據導入處理程序調用
- 8. Solr中的數據導入處理程序
- 9. Apache solr數據導入處理程序登錄碼頭容器
- 10. Solr數據導入請求處理程序異常
- 11. solr用於MongoDB的數據導入處理程序
- 12. Dynamic TableName SOLR數據導入處理程序
- 13. 使用Solr的數據導入處理程序
- 14. Solr - 數據導入處理程序 - 完全導入 - 默認情況下爲假?
- 15. Solr通過數據導入處理程序增量導入後升溫緩存
- 16. 導入solr單元格/ Tika元數據導致文件導致多值錯誤
- 17. 將mysql數據導入solr
- 18. solr delta導入處理刪除文檔
- 19. Solr中分割多值動態字段數據導入處理程序
- 20. Apache Solr,SolrJ vs數據導入處理程序,用於解析XML
- 21. Solr數據導入處理程序是否支持自定義變量?
- 22. 如何使用Solr數據導入處理程序來索引MySQL表?
- 23. 在Solr數據導入處理程序中定義嵌套實體
- 24. 如何使用數據導入處理程序和模式插入Solr中嵌套數據
- 25. SOLR在使用solr導入
- 26. Solrcloud和數據導入處理程序
- 27. Solr的增量導入計劃使用Apache駱駝 - 調用數據導入處理程序的增量導入
- 28. Solr Dismax處理程序 - 空格和特殊字符行爲
- 29. 處理Solr中
- 30. solr導出處理程序導出到xml而不是json
我發現幾分鐘前,但我有一個錯誤:墳墓完全導入失敗:org.apache.solr.handler.dataimport.DataImportHandlerEx ception:沒有數據源:BIN可供實體:94600730275216處理文檔 ument#1我不知道爲什麼。 – bobosh
但我已經配置了一個數據源 – bobosh
你的問題是「這可能嗎?」,它是。請另外提問。 – opyate