Enable free-text search in PolicyCenter
Before you begin
Follow the instructions for setting up free-text search:
Procedure
- Start Guidewire Studio.
-
Set up the
EventFiredrules for free-text search:- In the Project window, navigate to .
-
Double-click EventFired to open
EventFired.grsin the Rules editor, and then ensure that the Indexing System rules are enabled.
-
Configure the
ISolrMessageTransportPluginplugin:- In the Project window, navigate to .
- Double-click ISolrMessageTransportPlugin.gwp to open it in the Plugins Registry editor, and then enable it with the Gosu class gw.solr.PCSolrMessageTransportPlugin.
- In the Project window, navigate to .
- Double-click messaging-config.xml to open it in the Messaging editor.
-
In the list box on the left, select the
SolrMessageTransport.Policy.Namedestination, and then enable it with theISolrMessageTransportPlugintransport plugin.
-
Configure the
ISolrSearchPluginplugin:- In the Project window, navigate to .
- Double-click ISolrSearchPlugin.gwp to open it in the Plugins Registry editor, and then enable it with the Gosu class gw.solr.PCSolrSearchPlugin.
-
Enable free-text search:
- In the Project window, navigate to .
-
Double-click config.xml to open
it in the XML editor, and then set
FreeTextSearchEnabledtotrue.
- 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
