Unfortunately SOLR 6 / Alfresco Search Services was released as an Early Access (EA) module without any documentation, either part of docs.alfresco.com, in this platform or at least bundled with the download. Documentation is not due to arrive until the Alfresco One 5.2 release in Februrary 2017 (as per reply to5.2 documentation does not contain SOLR 6 information ).
This page is a community attempt to collect basic information to allow members to setup SOLR 6.
Alfresco Search Services (SOLR 6) is available as a ZIP download viaAlfresco Community Edition file list 201612. Simply unzip the file to a location of your choice.
SOLR 6 comes with a Jetty container and no longer needs a Tomcat to run. The expanded bundle can be used immediately to startup SOLR. If you want to parameterize SOLR you can either pass command line arguments, or edit the solr.in.cmd / solr.in.sh files and set parameters there.
Common parameters are:
TODO: SSL parameters / setup
All SOLR command line interaction will be via the "./solr/bin/solr" executable (actually a .cmd in Windows). Use "./solr/bin/solr start" to start it and "./solr/bin/solr stop" to stop it. The solr.in.cmd / solr.in.sh will be included for default configuration, but you can also pass settings to the executable. Use "./solr/bin/solr usage" for general usage guides and "./solr/bin/solr start -help" for specific start parameters.
Common command line parameters (for start AND stop) are:
The Windows command file has various issues in handling parameters. (It has not been verified if .sh scripts suffer as well)
Activation and configuration of the SOLR 6 subsystem is done via the alfresco-global.properites as with all previous SOLR versions.
The following properties should be set:
For some reason the port 8083 is set as the default on the Repository-tier which does not match the SOLR 6 default.
TODO: SSL setup
Different to SOLR 4, the SOLR 6 solrHome directory comes without any prepared cores and as such does not create any index for Alfresco at all. You must create new cores to begin tracking Alfresco and provide an index for searches. Cores are created similarily to how you would create cores for sharding, documented here (5.1 - creating shards manually).
Example URLs to create single cores for workspace://SpacesStore and archive://SpacesStore:
If your Alfresco Repository runs on a different port than 8080 you need to add the parameter "property.alfresco.port=port" to the URL.
These URLs will create the core configuration folders inside of the SOLR home folder where you can also modify their configuration afterwards (restart required).
SOLR 6 provides only two core templates: