默认情况下,索引的时候Solr会检查主键是否有重复的,以避免不同的document使用相同的主键。如果你确认你的document不会有重复的主键,将参数allowDups=true加到url上可以取消检查,对于csv文档,使用overwrite=false。
Read full article from Solr中国 » Blog Archive » 取消document唯一性检查(Disable unique document check) - 【Solr教程|Solr安装|Solr配置|Solr优化|Solr资料】
No comments:
Post a Comment