Solr enhancements in ColdFusion 9.0.1

Apart from overall improvement in the accuracy of indexing, the following are the enhancements:

  • Displays correct MIME types for all documents

  • Enhanced support for indexing of metadata for binary files such as mp3 and JPEG

  • Support for the attribute previousCriteria (in the tag cfsearch)

  • Both the tags cfindex and cfsearch support the attribute categoryTree.

  • A new section to enable/disable term highlighting for entire document has been added to the ColdFusion Administrator. This applies only if Solr is running on local machine.

    Note: The following steps apply only if Solr is running on local machine. If Solr is on a remote machine, follow the steps provided in the section Term highlighting in Developing ColdFusion 9 Applications.
    1. In the ColdFusion Administrator, go to ColdFusion Collections and then click a Solr collection.

    2. Use the Enable/Disable button to enable/disable term highlighting.

    3. Reindex the collection.

    Note: Enabling term highlighting increases the size of the Solr collection. So ensure that you allocate adequate memory for Solr if you are enabling term highlighting.