Setting up Namespaces to Avoid Running Multiple Solr Instances

2011-08-03 Thread Mike Papper
Hi, we run several independent websites on the same machines. Each site uses
a similar codebase for search. Currently each site contacts its own solr
server on a slightly different port. This means of course that we are
running several solr servers (each on their own port) on the same machine. I
would like to make this simpler by running just one server, listening on one
port. Can we do this and at the same time have the indexes and search data
separated for each web site?

So, I'm asking if I can namespace or federate the solr server. But by doing
so I would like to have the indexes etc. not comingled within the server.

Im new to solr so there might be a hiccup from the fact that currently each
solr server points to its own directory on a site-specific path (something
like /apps/site/solr/*) which contains the solr plugin (were using ruby on
rails). Can this be setup as a namespace (one for each web site) within the
single server instance?

Mike


Re: Setting up Namespaces to Avoid Running Multiple Solr Instances

2011-08-03 Thread Jonathan Rochkind
I think that Solr multi-core (nothing to do with CPU cores, just what 
it's called in Solr) is what you're looking for. 
http://wiki.apache.org/solr/CoreAdmin


On 8/3/2011 2:25 PM, Mike Papper wrote:

Hi, we run several independent websites on the same machines. Each site uses
a similar codebase for search. Currently each site contacts its own solr
server on a slightly different port. This means of course that we are
running several solr servers (each on their own port) on the same machine. I
would like to make this simpler by running just one server, listening on one
port. Can we do this and at the same time have the indexes and search data
separated for each web site?

So, I'm asking if I can namespace or federate the solr server. But by doing
so I would like to have the indexes etc. not comingled within the server.

Im new to solr so there might be a hiccup from the fact that currently each
solr server points to its own directory on a site-specific path (something
like /apps/site/solr/*) which contains the solr plugin (were using ruby on
rails). Can this be setup as a namespace (one for each web site) within the
single server instance?

Mike