Barry, this is indeed interesting. I've read the other replies so far, and I have some other thoughts.
I've not tried to install solr on a server where I installed CF in multiserver mode, but looking at the install guide, it's a little unclear. It says in the discussion of J2EE deployment (which is different from multiserver) that "there can be only one solr instance per server". It doesn't really seem to speak to multiserver deployment. But it does say (as Mark did) that at least in that J2EE setup, the solution is for it to be in one place and for the solr home in each CF admin to be configured to point to that place. I'm curious: do I assume you did tell it to install Solr during the CF 9 Multiserver installation, right? I'm curious: where did the solr files end up? In a Standard/Server deployment, they are in a [cf]\solr directory. In a multiserver deployment, was this created within the cfusion instance (such as a C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\solr directory), or perhaps even also in each new isntance (such as in C:\JRun4\servers\instance2\cfusion.ear\cfusion.war\WEB-INF\cfusion\solr)? Or is it put in some directory outside of jrun entirely? If it was created each instance, then I wonder if it may be possible for you to manually manipulate the solr/jetty config files to simply specify different ports so that they can run on their own. It seems reasonable. But I wouldn't be surprised if the CF team opted to make the default behavior be simplest: a single deployment. Hope that helps. Let us know what you find. /charlie > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of BarryC > Sent: Monday, April 04, 2011 5:25 PM > To: cfaussie > Subject: [cfaussie] using Solr in a multi instance configuration > > Hi, > > Has anyone used, or does anyone know how to get Solr going properly in > a multi instance configuration? > > We have two instances on a single server installed; > cfusion > uat > > the solr directory sits buried inside the cfusion instance directory, > but the uat instance does not have a solr directory. It seems by > default that the idea is to have the new instance point at the solr > server running out of the original instance 'cfusion' > We want the uat instance to have seperate solr search collections but > using the same collection names as the ones in cfusion, which means we > need to have a seperate solr store somehow. > > I've had a look at running 'multiple solr webapps' from a single solr > server, but the documentation on this is very poor and I have not been > able to successfully get this working. > > Do we need to duplicate the solr directory into the new instance, and > run a seperate solr server start script with solr running on a > different port or something? > > Thanks > Barry > > -- > You received this message because you are subscribed to the Google > Groups "cfaussie" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
