开发者

Rails 3 library using Solr as the database?

开发者 https://www.devze.com 2023-03-29 22:13 出处:网络
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

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

精彩评论

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