You can run both together but you have to change the port numbers in a few different files (jetty.xml, start.bat, scripts.conf, solrconfig.xml - just search for 8983). We havent tried running our plugin with the version of Solr that ships w/ CF (9 or 10) but you need at least Solr 3.5. It also uses a different schema.xml file than the built in one. You will probably have better results running it as a separate instance. We use Jetty and NSSM on Windows. It works great, we just point NSSM at the start.bat file in /farcry/plugins/farcrysolrpro/packages/custom/cfsolrlib/solr-server. It takes about 2 minutes to configure it as a Windows server.
You are going to have trouble getting the plugin to index non-FarCry content. It was specifically tailored to index data in FarCry content types. That said, we recently pushed up a feature that lets you map data yourself so you could, theoretically, create a shell FarCry content type and then use that technique to map all the various fields using queries to outside datasources, but I have to imagine that will be painfully slow. I'm not sure what the best course of action would be to index outside content. You may have to use a second collection and just use Solr w/o using the FarCry plugin. It really depends on how you want the search to work, but when you are running Solr separately its just a regular Solr install that you can freely use as you need. Solr 4 has some really great features but it is still in alpha. We have some ideas for the plugin once Solr 4 is stable, but until then we are on Solr 3.5. We do plan to upgrade the plugin to use Solr 3.6 soon, but as always life and work get in the way :) On Tuesday, July 24, 2012 2:40:48 AM UTC-4, tHeSmUrF wrote: > > "The bugs in those instructions are left as an exercise for the reader" - > LOL > > > > Sounds like you have a similar to-do list to mine. > > > > I had briefly looked at NSSM but some of the issues with it had put me > off….maybe I need to rethink that in the interests of time Thank you > for the link as I hadn’t seen that one. This one might be of interest to > others that are thinking of upgrading the CF version of SOLR: > http://bytestopshere.wordpress.com/2010/09/14/lessons-learned-moving-from-verity-to-solr-part-4/ > > > > When I checked the port I was looking at a ColdFusion 9 server (not > running 10 in production just yet) so it appears that the port numbers have > changed between versions. This is going to get tricky as I can’t move > everything to ColdFusion 10 just yet (some of our web service code doesn’t > work in 10). I had tried pointing our CF9 server to my custom SOLR 3.5 > (or 3.6…can’t remember which at the moment) but that resulted in nothing > working properly in CF (search related). > > > > Once I get things running correctly my next big issue will be looking at > how to populate some of the SOLRPro collection from a non-FarCry database. > This is one of the other reasons why we had held off on moving to CF10 and > why I needed to look at custom SOLR. We are only using CF Standard and > it doesn’t support SOLR Data Import Handler. Don’t know why this is > considered an Enterprise only requirement. > > > > On a side note apparently SOLR 4 has huge improvements over 3+ > > > > Sorry if the response is a bit disjointed. I’m working on different > approaches/ideas to solve my SOLR issues (not to mention working on other > time sensitive projects). Hopefully I’ll get this sorted out and tested > soon as you guys are working on our new internet site (Patricia is well > underway with the designs but Geoff didn’t say who is doing the coding) and > I want SOLR Pro to be a part of the new site. > > > > Thanks for your response! > > > > Cheers > > Mark > -- -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
