Solr search policy
The Commerce Engine encompasses extensible services that enable you to customize commerce functionality.
Do not extend or inherit from out-of-the-box policies; instead, create your own. You can change the values in a policy by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined and then re-running Bootstrap.
The Sorl Search plugin defines the SolrSearchPolicy policy, which defines the connection to a Solr search service.
|
Property |
Description / Default Values |
|---|---|
|
|
URL to Solr service instance. Note The Solr URL should not contain uppercase characters. |
|
|
Specifies whether the instance of Sorl in use it Sorl Cloud. Default: SolrUrl \ string.Empty ConnectionTimeout \ -1 SolrDateTimeFormatString \ "yyyy-MM-dd'T'HH:mm:ss.FFF'Z'" DefaultSearchOnlyStringFields \ true |
|
|
Defines a date / time format string for Solr. Default: |
|
|
Defines the connection time value in millisecond. Default: Note Setting this value to -1 makes use of the default SolrNet timeout. |
|
|
Determines whether to use Solr basic authentication. Default: Note When you enable this setting, the policy must also provide provide a username ( |
|
|
The user name to use for the Solr basic authentication.(Required when |
|
|
The user password to use for the Solr basic authentication.(Required when |