知识卡片
实时补全要求更新链路变化
周期批量构建无法及时反映刚发生的搜索热点。缩小分片数据集、提高近期查询权重和引入流式处理是可讨论方向;原书只给出思路,没有交付完整实时排名算法。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 搜索自动补全 · 查看原书依据
Interviewer: How can we support the trending (real-time) search queries? Assuming a news event breaks out, a search query suddenly becomes popular. Our original design will not work because: •Offline workers are not scheduled to update the trie yet because this is scheduled to run on weekly basis. •Even if it is scheduled, it takes too long to build the trie. Building a real-time search
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第13章《搜索自动补全》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0031_split_004.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Interviewer: How can we support the trending (real-time) search queries? Assuming a news event breaks out, a search query suddenly becomes popular. Our original design will not work because: •Offline workers are not scheduled to update the trie yet because this is scheduled to run on weekly basis. •Even if it is scheduled, it takes too long to build the trie. Building a real-time search