Hi,
We are trying to integrate Alfresco Community 201707 with Solr 6 distribution, alfresco-search-services-1.1.0. Please find the steps tried so far.
Server 1 - Alfresco & Solr 6 in same server (Working)
- Installed Alfresco Community with Solr 4.
- Download Alfresco Solr 6 distribution, unpack and copy the Solr 6 folder to ALFRESCO_HOME.
- Run the below command ALFRESCO_HOME/solr6/solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"
- Then open the url "http://localhost:8983/solr" I can able to see the both Alfresco and Archive are in the dropdown in solr admin page.
- After that editing the alfresco-global.properties file (ALFRESCO_HOME/tomcat/shared/classes/alfresco-global.properties) with below configuration.
### Solr indexing ###
index.subsystem.name=solr6
solr.host=localhost
dir.keystore=${dir.root}/keystore
solr.port=8983
solr.port.ssl=8984
solr.secureComms=none
solr.baseUrl=/solr
- Disable the Solr
4 subsystem following the below steps:
- Disable Solr 4 tracking in the ALFRESCO_HOME/solr4/workspace-SpacesStore/conf/solrcore.properties file. enable.alfresco.tracking=false
- To remove the Solr 4 web application and indexes, stop the Tomcat server which is running Solr 4.
- Remove the <ALFRESCO_HOME>/tomcat/webapps/solr4 directory and the <ALFRESCO_HOME>/tomcat/webapps/solr4.war file
- Remove the <ALFRESCO_HOME>/tomcat/conf/Catalina/localhost/solr4.xml file.
- Then I can able to search the content in alfresco site. Note: If both the alfresco and solr are in same server means I can able to search the records.
Alfresco in Server 1 & Solr 6 in Server 2 (Error)
- Repeated the above steps from 2 to 5 in server 2 for solr installation.
- Modified solr.host=server 2 ip from the above 5th step.
- Now If I search some content in alfresco site. search record displays nothing.
Please help us how to configure if alfresco and solr are in different server.