你如何全文搜索亚马逊 s3 存储桶? [英] How do you full text search an amazon s3 bucket?

查看:34
本文介绍了你如何全文搜索亚马逊 s3 存储桶?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 S3 上有一个存储桶,其中有大量文本文件.

I have a bucket on S3 in which i have large amount of text files.

我想在文本文件中搜索一些文本.它仅包含原始数据.并且每个文本文件都有不同的名称.

I want to search some text within a text file. It contains raw data only. And each text file has a different name.

例如,我有一个存储桶名称:

For the example, I have a bucket name:

abc/myfolder/abac.txt

xyx/myfolder1/axc.txt

&我想在上述文本文件中搜索诸如我是人类"之类的文本.

& I want to search text like "I am human" in the above text files.

如何实现?甚至有可能吗?

How to achieve this ? Is it even possible ?

推荐答案

唯一的方法是通过 CloudSearch,可以使用S3作为源.它使用快速检索来构建索引.这应该很有效,但要彻底检查定价模型,以确保这对您来说不会太贵.

The only way to do this will be via CloudSearch, which can use S3 as a source. It works using rapid retrieval to build an index. This should work very well but thoroughly check out the pricing model to make sure that this won't be too costly for you.

另一种方法如 Jack 所说 - 否则您需要将文件从 S3 传输到 EC2 并在那里构建搜索应用程序.

The alternative is as Jack said - you'd otherwise need to transfer the files out of S3 to an EC2 and build a search application there.

这篇关于你如何全文搜索亚马逊 s3 存储桶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆