简体   繁体   English

直接从数据库Solr 6.5索引数据

[英]Indexing Data directly from database Solr 6.5

I'm new to new Solr. 我是新来的Solr的新手。 I got the examples of how to index data directly from database for Solr 4.9 but still not able to find anything for Solr 6.5. 我得到了有关如何直接从Solr 4.9的数据库中为数据建立索引的示例,但仍然无法为Solr 6.5找到任何内容。 Does Solr 6.5 support database indexing? Solr 6.5是否支持数据库索引? If yes, then how to achieve same. 如果是,那么如何实现相同。

DataImportHandler is usually the way to load data from a database into Solr. 通常使用DataImportHandler将数据从数据库加载到Solr。 It was there in Solr 4.9 and is still there in Solr 6.5. 它在Solr 4.9中存在,而在Solr 6.5中仍然存在。

Specifically, Solr ships with a dih example (bin/solr start -e dih) that has a number of collection, one of them showing database indexing. 具体来说,Solr附带了一个带有多个集合的dih示例(bin / solr start -e dih),其中一个显示数据库索引。

There are also third party products that can read from database and index into Solr (eg. Apache NiFi ), but their levels of Solr support may vary. 还有一些第三方产品可以从数据库读取并索引到Solr中(例如Apache NiFi ),但是它们对Solr的支持级别可能有所不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM