简体   繁体   English

Vespa中文档ID的自动递增

[英]Auto Increment of Document id in Vespa

How can I auto increment document id as I am feeding document of same type into vespa after some period of time.? 一段时间后将相同类型的文档送入vespa时,如何自动增加文档ID? Should I have to do the increment of doc id manually? 我是否必须手动增加doc id? Please help. 请帮忙。

If you want to replace the document, use the same id. 如果要替换文档,请使用相同的ID。 If not, use a new id. 如果不是,请使用新的ID。 Vespa does not provide a way to generate id's. Vespa没有提供生成ID的方法。

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

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