Enable free-text search in PolicyCenter

Before you begin

Follow the instructions for setting up free-text search:

Procedure

  1. Start Guidewire Studio.
  2. Set up the EventFired rules for free-text search:
    1. In the Project window, navigate to configuration > config > Rule Sets > EventMessage.
    2. Double-click EventFired to open EventFired.grs in the Rules editor, and then ensure that the Indexing System rules are enabled.
  3. Configure the ISolrMessageTransportPlugin plugin:
    1. In the Project window, navigate to configuration > config > Plugins > registry.
    2. Double-click ISolrMessageTransportPlugin.gwp to open it in the Plugins Registry editor, and then enable it with the Gosu class gw.solr.PCSolrMessageTransportPlugin.
    3. In the Project window, navigate to configuration > config > Messaging.
    4. Double-click messaging-config.xml to open it in the Messaging editor.
    5. In the list box on the left, select the SolrMessageTransport.Policy.Name destination, and then enable it with the ISolrMessageTransportPlugin transport plugin.
  4. Configure the ISolrSearchPlugin plugin:
    1. In the Project window, navigate to configuration > config > Plugins > registry.
    2. Double-click ISolrSearchPlugin.gwp to open it in the Plugins Registry editor, and then enable it with the Gosu class gw.solr.PCSolrSearchPlugin.
  5. Enable free-text search:
    1. In the Project window, navigate to configuration > config.
    2. Double-click config.xml to open it in the XML editor, and then set FreeTextSearchEnabled to true.
  6. Start the PolicyCenter application.

Results

If you enabled free-text search successfully, you see the following message at server startup on the server console and in the server log file.

***** PCSolrMessageTransportPlugin is initialized *****

If you configured free-text search for embedded operation, you see the following messages at server startup on the server console and in the server log file.

Solr Installing and provisioning embedded Solr in folder C:\opt\gwsolr
Solr Embedded server configured for automatic provisioning in /opt/gwsolr for appCode pc

What to do next

See also