返回主题:倒排索引与查询处理

知识卡片

普通读书笔记卡 · 4964

检索与数据库查询有别

理解等级:中级

数据库查询通常针对库内事实得到确定结果;信息检索查询按条件寻找匹配文档或其指针,适合分布式来源及索引。读多的网络接口可以内部采用检索引擎,写入另选适合完整性和吞吐量的存储。具体引擎属于实现细节,接口不应暴露它;书中对产品流行度的描述只代表2022年语境。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 用超媒体思考与设计 · 查看原书依据

      There is an important difference between data query languages like SQL (Structured Query Language) and information retrieval query languages like Apache Lucene. Database languages are designed to return definitive results about some set of “facts” stored in the database. Information retrieval query languages (IRQLs) are designed to return a set of documents that match some supplied criteria. For the set of recipes in Chapter 6, we’ll be focused primarily on the second type of query languages—information retrieval.

    参考来源

    - 位置:《RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)》第02章《用超媒体思考与设计》(来源项目 book-sources;源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch02.xhtml;小节:分布式数据) - 结论依据:原文以数据库查询通常针对库内事实得到确定结果;信息检索查询按条件寻找匹配文档或其指针,适合分布式来源及索引的机制或场景为依据;同小节余文补充本卡所列条件,按2022年原书语境整理。 - 原始内容:There is an important difference between data query languages like SQL (Structured Query Language) and information retrieval query languages like Apache Lucene. Database languages are designed to return definitive results about some set of “facts” stored in the database. Information retrieval query languages (IRQLs) are designed to return a set of documents that match some supplied criteria. For the set of recipes in Chapter 6, we’ll be focused primarily on the second type of query languages—information retrieval.