Bill Christian
Bill Christian

Reputation: 689

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.

Upvotes: 0

Views: 207

Answers (1)

Devin M
Devin M

Reputation: 9752

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.

Upvotes: 1

Related Questions