Netflix内容工程公司如何使联合图谱成为可搜索的(第二部分)。
By Alex Hutter, Falguni Jhaveri, and Senthil Sayeebaba
作者:Alex Hutter,Falguni Jhaveri, andSenthil Sayeebaba
In a previous post, we described the indexing architecture of Studio Search and how we scaled the architecture by building a config-driven self-service platform that allowed teams in Content Engineering to spin up search indices easily.
在上一篇文章中,我们描述了Studio Search的索引架构,以及我们如何通过建立一个配置驱动的自助服务平台来扩展该架构,使内容工程部的团队能够轻松启动搜索索引。
This post will discuss how Studio Search supports querying the data available in these indices.
这篇文章将讨论Studio Search如何支持查询这些索引中的数据。
Data consumption from Studio Search DGS
来自Studio Search DGS的数据消耗
Introduction
简介
When we say Content Engineering teams are interested in searching against the federated graph, the use-case is mainly focused on known-item search (a user has an item or items in mind they are trying to view or navigate to but need to use an external information system to locate them) and data retrieval (typically the data is structured and there is no ambiguity as to whether a particular record matches the given search criteria except in the case of textual fields where there is limited ambiguity) within a vertical search experience (f_ocus on enabling search for a specific sub-graph within the big federated graph_)
当我们说内容工程团队对联合图谱的搜索感兴趣时。该用例主要集中在已知项目搜索(用户心中有一个或多个项目,他们试图查看或导航,但需要使用外部信息系统来定位它们)和数据检索(通常数据是结构化的,对于某个特定记录是否符合给定的搜索标准没有歧义,除非是文本字段,存在有限的歧义)的垂直搜索体验(重点是实现对大联合图中特定子图的搜索_)。
Query Language
查询语言
Given the above scope of the search (vertical search experience with a focus on known-item search and data retrieval), one of the first things we had to design was a language that users can use to easily express their search criteria. With a goal of abstracting users away from the complexity of interacting with Elasticsearch directly, we landed on a custom Studio Search DSL reminiscent of SQL.
鉴于上述搜索范围(垂直搜索体验,重点是已知项目搜索和数据检索),我们首先要设计的是一种用户可以用来轻松表达他们的搜索标准的语言。我们的目标是将用户从与Elasticsearch直接交互的复杂性中抽象出来,因此我们采用了一个自定义的Studio Search DSL,让人想起SQL。
The DSL supports specifying the search criteria as comparison e...