You can use a combination of the Tomcat Manager app: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html and this patch: https://issues.apache.org/jira/browse/SOLR-336 to create instances on the fly.
My three types of instances have separate home directories, but each running instance uses a different data directory. Thanks, Stu -----Original Message----- From: Ozgur Yilmazel Sent: Friday, August 31, 2007 4:48am To: solr-user@lucene.apache.org Subject: Re: multiple solr home directories I have a related question on this topic. I have a web application which I would like to create indexes for individual users on the fly, is it possible to do JNDI configuration without restarting Tomcat? Here is some more detail on what I am trying to do: Our search application has a web based administration page in which administrators can select set of documents and make them available for search on different URLs or with different user privileges. I know we could use the same index and filter results based on a indexname field, but having separate indexes would make it easy for us to migrate an index to a different machine easier. Thank you for your help. Ozgur On 8/31/07, Chris Hostetter wrote: > > > Just to make sure. you mean we can create a directory containing the shared > > jars, and each solr home/lib will symlink to the jar files in that > > directory. Right? > > correct. > > > -Hoss >