As an aside, a sure sign that Solr is not configured properly will be that no Solr collections are listed on this page despite the fact that the service is running. Upgrading from Verity to Solr Note that in ColdFusion 9, not only is Verity still available, but it is chosen by default. Assuming you create the collection in the default directory shown in the image above, the schema. Note that Solr has category support enabled by default actually, this is because the category field will just be defined as multiValued in schema. Now that our collection has been created, we can edit schema.

Author:Yozshulkree Gardakinos
Country:Cayman Islands
Language:English (Spanish)
Published (Last):20 September 2013
PDF File Size:12.23 Mb
ePub File Size:2.14 Mb
Price:Free* [*Free Regsitration Required]

I work with computers a lot. Occasionally sic I need to fix freshly installed software on servers. ColdFusion is an app engine hailing from the dark days of the Internet around We run ColdFusion 8,9,10 on Linux.

At one time ColdFusion bundled software services from other venders, like Verity. Verity is a "full text" search engine. Recently they "unbundled" their contract with Verity and as a result left developers with migrating and replacing this search engine with another one.

They recommended developers begin using an Opensource search engine called Solr sounds like "Solar". And they began bundling it with their installers.

The only problem is since Solr is not developed internally by the ColdFusion group neither was Verity the documentation on how to implement, maintain and use it is somewhat lacking. Worse, there appears to be some bugs in the integration pieces for starting and stopping the service a provided run control script and the example solr. Essentially here is how I got it working: 1. If running CF8 you have Verity and Solr was never bundled with ColdFusion, CF8 is no longer supported and probably unsafe from a security stand point to be using at this point.

We have since migrated off of it and on to CF9. CF9 came in five flavors; CF9. Then they cancelled their distribution agreement with Verity and were required to remove Verity from the CF product installers.

So they re-released CF9. The main way to determine if you have a CF9. Re-installing is not exactly easy if your ColdFusion server configuration is highly customized. First you have to manually record all your custom settings, or export them. Then "uninstall" and re-install with the new installer and finally re-configure manually or by importing your custom settings.

One thing you might consider is "is it worth the trouble? Solr also has a bit of recent history, in that it was originally a commercial venture, that got gifted to the Apache foundation as Opensource and then merged with the Lucene release cycle. So while ColdFusion includes versions 1. So you might be asking since its a standalone service from ColdFusion service why not install the Solr opensource latest release?

Simply because the ColdFusion group went to the trouble of integrating Solr 1. And that brings up another good point, ColdFusion terminology has been around a lot longer than Solr. And Solr can be run in two modes, single "Core" or multi "Core" -- the latter supports multiple "Collections" in ColdFusion. The default configuration in ColdFusion is multi "Core". One of the annoying things about this ColdFusion x Solr arrangement is the Solr admin page will actually "say" you have a bad path in the configuration file, but unless you have a local web browser running on the server and consult the default Solr web page for administrators -- your unlikely to see it.

To add difficulty to the situation, the default install of Solr does not listen for remote web browser connections [ on purpose ] to be more secure, and most Linux firewalls block port unless explicitly un-blocked. As a result the Solr admin page is usually not accessible, unless additional steps are taken. ColdFusion does not perform sanity checks on the Solr configuration file they provide, so this can lead to a logical conundrum as to why the service appears inaccessible.


Subscribe to RSS

Multiple fields can be boosted by specifying the values as a comma-separated list. In ColdFusion 10, custom fields are dynamic. In ColdFusion 9, all custom fields are displayed. This option was available in ColdFusion 9, but limited to four custom fields.


Solr enhancements in ColdFusion 10



ColdFusion Solr Tutorial




Related Articles