Solr控制覆盖或覆写索引开关

http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22field.22

ptional attributes for "add"

overwrite = "true" | "false" — default is "true", meaning newer documents will replace previously added documents with the same uniqueKey.
posted @ 2014-11-05 09:42  程序员斯文  阅读(395)  评论(0编辑  收藏  举报