Solr、太阳黑子、SQlite 和 Rails [英] Solr, Sunspot, SQlite, and Rails

查看:41
本文介绍了Solr、太阳黑子、SQlite 和 Rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我使用 SQlite3 作为数据库的项目实现全文搜索 + 分面.听说Solr真的很强大.有太阳黑子&Solr 教程可用,但仅适用于 MySQL.我找不到关于如何为 SQLite3 设置它的任何文档.

I would like to implement a full text search + faceting for my project that uses SQlite3 as the database. I heard that Solr is really powerful. There are Sunspot & Solr tutorials available but only for MySQL. I can't find any document for how to set it up for SQLite3.

有人知道如何使用 SQLite3 设置它吗?还是不可能?

Anyone know how to set it up with SQLite3? Or is it not possible?

推荐答案

应该是完全一样的... AFAIK Solr 不直接使用数据库,而是提供 REST API 来存储、索引和搜索文档.

It should be exactly the same... AFAIK Solr doesn't work with database directly but rather provides REST API to store, index and search documents.

这篇关于Solr、太阳黑子、SQlite 和 Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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