对存档文件进行全文索引

发布于 2024-10-03 07:43:39 字数 421 浏览 0 评论 0原文

您好,
简而言之,我必须找出是否可以实现一种通过 Sql Server 2008 Express 下的 IFilter 对压缩的 .rtf 文件进行索引以进行全文搜索的方法。

长版: 这个问题主要是一个理论问题 - 我既没有足够的经验也没有足够的知识来确定这样的事情是否可能由我自己实现。

问题如下。有一个大小有限的 Sql Server Express 2008 R2 数据库将存储大型 .rtf 文件(可能有 2-10k 个),并对它们建立索引以进行全文搜索。现在,它们可能不符合 10GB 的限制,因此我想知道它们是否可以存档(例如压缩)并以这种方式存储。在压缩状态下,全文搜索应该是可行的。

我的想法是尝试以某种方式链接 ifilters 来实现这一点(我不知道这是否可行),或者可能有一个我没有看到 atm 的不同解决方案;我很感激任何意见,因为我有点不知所措。

Greetings,
in short, I have to find out whether I can implement a way to index zipped .rtf files via IFilter under Sql Server 2008 Express for fulltext search.

Long version:
this question is mostly a theoretical one - I'm neither experienced nor knowledgeable enough to find out whether such a thing is possible on my own.

The problem is as follows. There's a limited-size Sql Server Express 2008 R2 database thats going to store large .rtf files, probably 2-10k of them, and index them for fulltext search. Now, they probably wont fit into the 10gb limitation, thus I'm wondering if they could be archived (zipped, for instance) and stored that way. Fulltext search should be doable on them, in their zipped state.

My thought was to try to chain ifilters in some way to achieve this (I've no idea if thats doable), or there could be a different solution that I'm not seeing atm; I'd appreciate any input, as I'm kinda at a loss.

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

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

发布评论

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

评论(1

随梦而飞# 2024-10-10 07:43:39

使用 Lucene 之类的东西可能会更容易。您可以提取文件的文本并为其建立索引。

You may have a much easier time using something like Lucene. You could extract the text for the files and index it.

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