Lai Yu-Hsuan
Lai Yu-Hsuan

Reputation: 28081

Two services share one Solr(through Sunspot)?

I built a web service A which use Solr as its text search engine. There are on separate two machines.

Now I'm building a new service B. But because B is relatively small service, I don't want to build a its own Solr. Is there a way to have A and B share a Solr server, without messing their indexes up?

BTW they are both Rails services so I use Sunspot as an interface. I'm not sure whether it matters.

Upvotes: 0

Views: 59

Answers (1)

Paul Grigoruta
Paul Grigoruta

Reputation: 2416

Yes, you can create 2 Solr cores - http://wiki.apache.org/solr/CoreAdmin

Upvotes: 3

Related Questions