Documentation Home

3.1.1-GA to 3.1.2-GA Migration

Admin Javascript and CSS locations

The location of admin.js and admin.css has changed. To update this, update the blJsFileMap bean in applicationContext-admin to be:

<bean id="blJsFileMap" class="org.springframework.beans.factory.config.MapFactoryBean">
    <property name="sourceMap">
            <entry key="admin/admin.js" value-ref="blJsFileList"/>
            <entry key="admin/admin.css" value-ref="blCssFileList"/>

Solr changes

We have updated the Solr service to actually work properly with standalone Solr with multiple indexes. You can now instantiate the blSearchService bean with 3 different Solr locations:

<bean id = "solrPrimaryServer" class="org.apache.solr.client.solrj.impl.HttpSolrServer">
    <constructor-arg value="${solr.url.primary}" />

<bean id = "solrReindexServer" class="org.apache.solr.client.solrj.impl.HttpSolrServer">
    <constructor-arg value="${solr.url.reindex}" />

<bean id = "solrAdminServer" class="org.apache.solr.client.solrj.impl.HttpSolrServer">
    <constructor-arg value="${solr.url.admin}" />

<bean id="blSearchService" class="">
    <constructor-arg name="solrServer" ref="solrPrimaryServer" />
    <constructor-arg name="reindexServer" ref="solrReindexServer" />
    <constructor-arg name="adminServer" ref="solrAdminServer" />

The first 2 arguments are paths to the Solr indexes whereas solr.source.admin is the root of the external Solr server, used for issuing commands like core swapping.

Example config in a properties file:


Solr client update

We have also updated the Solr client to 4.7.2 (see This should be backwards compatible in communicating to older Solr servers.

The full list of changes that have been made to the stock DemoSite project is available on GitHub.