Upgrade SOLR to mitigate security risks in ColdFusion (2021 release)

Nota:

We recommend that you back up the following files:

  • schema.xml
  • solr.war
  • solr.xml
  • managed-schema.xml
  • start.ini

Pre-requisite

Download the zip file from the link provided in this doc and unzip the files. You'll then copy these files to their respective locations.

How to upgrade SOLR

To upgrade to SOLR 8.11.2, follow the steps below:

  1. Copy schema.xml to [SOLR_HOME]/template/conf

  2. Copy solr.war to [JETTY_HOME]/webapps

  3. Copy solr.xml to [JETTY_HOME]/solr

  4. Edit the start.ini file in [JETTY_HOME] and add the following flags:

    • -Dsolr.disable.shardsWhitelist=true
    • -Dsolr.http1=true
  5. Restart Jetty.

After upgrading SOLR, you have the following options.

If you don’t want to re-index

Follow the steps below:

  1. Go to the location of each collection and open the file managed-schema.xml in [COLLECTION_NAME]/conf.

  2. Replace all occurrences of <filter class="solr.StandardFilterFactory"/> with an empty string.

    Nota:

    The filter StandardFilterFactory is no longer operational in SOLR.

  3. Restart Jetty.

If you want to re-index

Follow the steps below:

  1. Delete all existing collections using one of the following ways:

    1. Via the ColdFusion Administrator.
    2. Delete the collections by manually deleting the collection directories present at [JETTY_HOME]/multicore/collections.
    3. Use the cfcollection tag to delete the collections programmatically. For more information, see cfcollection tag.
  2. Restart Jetty.

  3. Recreate the collections using ColdFusion Administrator or your CFML application.

  4. Re-index the data using ColdFusion Administrator or your CFML application.

Download

Link

  • MD5 Checksum: e092b20cf701206400251792aa4fc288

 Adobe

Obtén ayuda de forma más rápida y sencilla

¿Nuevo usuario?

Adobe MAX 2024

Adobe MAX
La conferencia de creatividad

Del 14 al 16 de octubre en Miami Beach y en línea

Adobe MAX

La conferencia de creatividad

Del 14 al 16 de octubre en Miami Beach y en línea

Adobe MAX 2024

Adobe MAX
La conferencia de creatividad

Del 14 al 16 de octubre en Miami Beach y en línea

Adobe MAX

La conferencia de creatividad

Del 14 al 16 de octubre en Miami Beach y en línea