bibi45

2020-09-20 | System Design 中文

站内搜索:数据库查询与搜索引擎的分工

bibi45

搜索引擎用于检索体验,不取代订单、库存等强一致业务数据库。

This article is currently available in Chinese. The language switch changes the site interface; the original text is shown below.

商品关键词、分词、相关性排序和筛选可由搜索引擎承担;权威商品状态、价格和库存仍从主数据库确认。

建立索引时需要定义同步延迟、失败重试和全量重建方式。搜索结果可以短暂过期,因此结算前必须再做服务端校验。

© 2026 bibi45. All rights reserved.

Built as a static, Git-owned site.