简体   繁体   English

将MYSQL表索引到Solr 5

[英]Index MYSQL table to solr 5

I am trying to make full import for mysql table to solr. 我正在尝试完全导入mysql表到solr。 The issue is only 10 documents are indexed while the mysql table size is almost 1 million. 问题是只有10个文档被索引,而mysql表大小几乎为100万。 When i debug the full-import request i always get" 当我调试完全导入请求时,我总是得到“

<str name="Total Rows Fetched">10</str>

I am using Solr 5. How i can solve that? 我正在使用Solr5。我该如何解决?

Using DataImportHandler when you set "Debug" mode the default is index only 10 rows. 设置“调试”模式时,使用DataImportHandler时,默认值为仅10行索引。 To index more than 10 rows you can disable debug mode or set "Rows" to another value. 要索引10个以上的行,可以禁用调试模式或将“行”设置为另一个值。

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

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