Configuring the Guidewire Solr Extension for provisioning
You can configure embedded server definitions to provision the Guidewire Solr Home directory with revised configuration files after you edit them in Studio. Use the provision parameter in an embedded server definition in solrserver-config.xml to control whether and how to provision the Guidewire Solr Home directory with changed configuration files.
<param name="provision" value="{"true"|"false"|"auto"}/>If you set the provision parameter to true,
free-text search deploys the files from PolicyCenter/gwsolr/pc-gwsolr.zip to the solrroot
directory every time you start the PolicyCenter
application. If you set provision to false, you must
manually provision changed files that you edit in Studio. Set provision
to auto only for automated testing.
Example Provisioning Configuration
<solrserver name="embedded" type="embedded">
<param name="provision" value="true"/>
<param name="solrroot" value="c:\opt\gwsolr"/>
</solrserver>
Note that this example configuration drops the indexes each time you start the
PolicyCenter application.See also
