开发者

Rails 3 library using Solr as the database?

I want to use Solr not merely as the indexer but as the database itself. Does anyone开发者_运维技巧 know of an existing Rails 3 gem? Essentially Solr would take the place of Sqlite or MySQL. I like to insert content and then later perform a search to retrieve.


Solr is for indexing text and is not designed to be used as a relational database. I would recommend keeping a relational database and then submit that content to Solr for indexing, this would allow you to insert content and use Solr to search for that content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜