bigtable 上的全文搜索

发布于 2024-09-14 19:48:03 字数 58 浏览 9 评论 0原文

关于使用 java 在 bigtable 上进行/优化全文搜索有什么见解吗?最佳实践等?你们怎么做的?

any insight as to making/optimizing full-text searches on bigtable using java? best practices and such? how do u guys do it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暮光沉寂 2024-09-21 19:48:03

基本思想是根据文本构建索引作为列表属性(词干并删除停用词)。为了提高性能,可以通过将列表属性移动到子实体中来使用“关系索引”。这可以防止潜在的大列表作为默认提取组的一部分加载 - 您只需要查询。您必须使用低级 api 执行仅键查询,该查询将返回父类的键,然后可以使用该键来获取匹配的项目。

Basic idea is to build an index as a list property from the text (stemmed and with stop words removed). To improve performance use "relation indexing" by moving the list property into a child entity. This prevents a potentially large list from being loaded as part of the default fetch group - you only need to query against. You'll have to use the low level api to do a keys only query taht will return the keys of the parent class which can then be used to fetch teh matching items.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文