简体   繁体   English

将文档从一个索引移到另一个

[英]Move docs from one index to another

I'm trying to move docs from one index to a different index, without maintaining the source docs. 我正在尝试将文档从一个索引移动到另一个索引,而不维护源文档。

I'm using scroll to do this now, but, so far, I'm reindexing and it's keeping the source documents on the source index. 我现在使用滚动来执行此操作,但是到目前为止,我正在重新编制索引,并将源文档保留在源索引上。 I don't want this to happen, I want a move not a copy... 我不希望发生这种情况,我希望搬家而不是抄袭...

Thanks a lot. 非常感谢。

There is no existing functionality to do this. 没有现有功能可以执行此操作。 If you no longer want the source document in the source index, you'll need to delete the document. 如果您不再希望源文档出现在源索引中,则需要删除该文档。

The source isn't stored separately in some kind of blob which indices "point" at. 源未单独存储在索引为“ point”的某种blob中。 The source is an integral part of the index, so you can't move it...just copy. 源是索引的组成部分,因此您不能移动它……只是复制。

Sorry :( 对不起:(

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

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