要使用 Ruby 在 SQLite3 中获得 FTS3 支持,是否必须手动编译 sqlite?

发布于 2024-09-02 08:57:26 字数 174 浏览 3 评论 0原文

我有一个网络应用程序,我想在其中使用 SQLite3 的 FTS3 功能。

我已经安装了 SQLite3-ruby v1.2.5 gem。我希望获得 FTS3 支持,但由于尝试创建 FTS3 表,我知道它不附带支持。

我是否需要自己编译 gem/sqlite3 才能获得此支持?我应该使用单独的宝石吗?

I've got a web app where I'd like to user FTS3 functionality of SQLite3.

I've got the SQLite3-ruby v1.2.5 gem installed. I'd like to have FTS3 support, and I know, due to trying to create an FTS3 table, that it doesn't come with it.

Do I need to compile the gem/sqlite3 myself in order to get this support? Is there a seprate gem I should be using?

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

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

发布评论

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

评论(1

冷血 2024-09-09 08:57:26

我想我已经回答了我自己的问题,并且我相信答案本质上是“是”,但有一个但是:

是的,如果你真的想疯狂的话,你可以自己编译。似乎可能还有其他插件和其他东西可以安装来进行全文搜索。

这些是什么,我还在研究。

I think I've answered my own question, and I believe that the answer is essentially "yes", with a but:

Yes you can compile yourself, if you really want to go to crazy lengths. It seems that there may be other plugins, and other things you can install to do full-text search.

What these are, I'm still looking into.

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