Solr Server Configuration

A default configuration for Solr is included with the Widget Framework. Provided parameters are -

$class=com.escenic.framework.search.solr.SolrSearchEngine
httpClientFactory=./HttpClientFactory
solrServerURI=${jndi:java:comp/env/escenic/presentation-solr-base-uri}
restrictedParameters=
defaultRowCount=10
maxRowCount=500
fields=*

The most important property is solrServerURI. This property is mandatory and must reference a JNDI environment variable as shown above. The JNDI environment variable itself must be set to point to the presentation Solr base URI:

<Environment name="escenic/presentation-solr-base-uri"
             value="http://server:port/solr/"
             type="java.lang.String"
             override="false"/>