mongolastic正在花很长时间来索引收藏 [英] mongolastic is taking long time to index a collection

查看:191
本文介绍了mongolastic正在花很长时间来索引收藏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 mongolastic 在弹性搜索中索引一个集合。



花了大约6个小时来索引一个拥有30,000个文档的集合。有没有办法提高效率?



另外,有人指出,索引是批量(200)完成的,我们也可以增加这个限制吗? / p>

任何建议?

解决方案

关于批量大小的限制 - 这取自您提供的链接:



  1. 覆盖默认批量大小通常为200.(可选)




 批次: <数> (6)


I am using mongolastic, to index a collection in elasticsearch.

It took around 6 hours to index a collection having 30,000 documents. Is there a way we can increase the efficiency?

Also, it was noted that the indexing was done in batch (of 200), can we increase this limit too?

Any suggestions?

解决方案

As for the limit of the batch size - this is taken from the link you provided yourself:

  1. Override the default batch size which is normally 200. (Optional)

batch: <number>         (6)

这篇关于mongolastic正在花很长时间来索引收藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆