Prerequisites for running the free-text batch load command

Before you run the free-text batch load command for the first time, you must modify the following files:

  • data-config.xml – Specifies for the batch load command the location of the collated and compiled index documents for the Guidewire Solr Extension to load. It also specifies the fields the index documents contain.
  • batchload.sh/batchload.bat – Specifies the batchload-config-databaseBrand.xml configuration file to use for your database brand.
  • batchload-config-databaseBrand.xml – Specifies the SQL Select statement that extracts policies from the PolicyCenter application database. Specifies the URL for the Guidewire Solr Extension. Specifies a working directory, and specifies a sort binary.

Each time before you run the free-text batch load command, you must do all of the following if PolicyCenter is running:

  • Suspend the PCSolrMessageTransport message destination from the Event Messages page on the Administration tab.

    Suspending the message destination prevents PolicyCenter from sending updated index documents to the Guidewire Solr Extension if users modify policies while the free-text batch load command runs.

  • Set the EnableDisplayBasicSearchTab script parameter to false from the Script Parameters page on the Administration tab.

    Setting the script parameter to false prevents users from accessing the Basic tab to perform free-text searches while the free-text batch load command runs.

Guidewire recommends that you take a backup of the current index before running each free-text batch load command. This backup provides a snapshot of the index that you can restore if the batch load does not complete successfully. For information about how to perform a backup, see the Solr documentation on the following web site: