mapreduce - How to update documents in SolrCloud using MapReduceIndexerTool?
问题描述
I am trying to index data to SolrCloud using MapReduceindexerTool. I am successfully indexing using MapReduceindexerTool with option --go-live
,which merging resulting index shards into a live SolrCloud cluster.But I find out it fails to update the documents when the document has already been in SolrCloud with the same unique document key. MapReduceindexerTool ignore all the duplicate documents, but I want it updated by the newest version of the very same document, using the same unique key.
Any suggestions are appreciated. Thanks in advance.
解决方案
我找到了这篇文章,目前该工具只能插入文档,不能更新或删除现有的 SOLR 文档。似乎没有计划可以更新/删除现有的 SOLR 文档。
推荐阅读
- mysql - 如何以最快的方式执行这个 MySQL 查询?
- python - 如何在 Python 的嵌套列表中递归收集链接信息?
- import - 为什么当我将项目导入到我的 android studio 时,avd 模拟器不起作用
- python - 是否可以使用一次应用调用创建多个列
- ruby-on-rails - 如何根据模型属性设置关联class_name
- vb.net - 尝试将 VisualStyler.ApplyExcludeTag() 方法应用于选项卡控件时出现警告 BC42025
- python-3.x - 创建具有不同色散(sigma)的正常噪声阵列
- javascript - 在 JavaScript 中引发和订阅事件
- html - 单击 Anchor 标签会产生要跳转的元素
- css - 网页不会呈现指定的字体