Skip to Content
Presto实战
book

Presto实战

by Matt Fuller, Manfred Moser, Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from Presto实战
108
7
例如,想想有一个索引包含某个网站所有博客文章,这些文档存储在
blogs
索引中。也许
这些文章由许多字段组成,如
title
intro
post
summary
authors
等。借助全文搜
索,你就可以写一个简单的查询,在所有字段中搜索某个特定的词,如
presto
SELECT * FROM "blogs: +presto";
Elasticsearch
的查询字符串语法支持对不同的搜索词进行加权,以及其他适用于全文搜索
的功能。
7.5.5
 总结
Amazon Elasticsearch Service
特有的一个强大功能是支持
AWS
身份和访问管理。有关此配
置的更多详细信息,以及使用
TLS
Presto
文档中其他技巧确保与
Elasticsearch
集群的连
接,参见
1.4.2
节。
使用
Presto
Elasticsearch
你可以通过一些强大的、可以支持
SQL
的工具来分析索引中
的丰富数据。你可以手动编写查询,也可以利用丰富的分析工具,这让你更好地理解集群
中的数据。
利用
PrestoMongoDB
连接器将
MongoDB
连接到
Presto
也具有类似的优势。
7.6
 
Presto
中的联邦查询
在阅读了
1.3
节中关于
Presto
的所有使用场景,并了解了
Presto
中所有的数据源和可用的
连接器之后,你现在可以了解更多关于
Presto
中联邦查询的信息了
联邦查询
是指访问多
个数据源中数据的查询。
这种查询可用于将来自多个
RDBMS
数据库的内容和信息结合在一起
,比如将运行在
PostgreSQL ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大数据项目管理:从规划到实现

大数据项目管理:从规划到实现

Ted Malaska, Jonathan Seidman
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield

Publisher Resources

ISBN: 9787115560056