Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Elastic Search #12

Open
misaka10055 opened this issue Aug 8, 2019 · 2 comments
Open

Elastic Search #12

misaka10055 opened this issue Aug 8, 2019 · 2 comments

Comments

@misaka10055
Copy link
Collaborator

搜索这方面,我们之前似乎是决定用 Elastic Search。有人有这方面的开发经验吗?

没人的话我就啃文档去了

@r1235613
Copy link
Collaborator

r1235613 commented Aug 8, 2019

沒經驗QQ

@linonetwo
Copy link
Contributor

linonetwo commented Aug 8, 2019

我在公司用过一点,也是用 python ,我下周回公司之后可以给你提供协助。

所以是 MongoDB 里存一份冷数据,ES 里面存一份热数据(不持久化),然后两边同步对吧?

那样的话搜索的 API 后面是直接对接 ES, 而不对接 MongoDB 。然后在添加新内容时先放入 MongoDB ,然后计划一次同步,或者两边同时插入。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants