From f42679d04699d25573cd9b801fbdb535d35c6f7c Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Tue, 30 May 2017 17:59:58 +0100 Subject: [PATCH 1/5] RM-4978 (Solr 6 support not working) --- .../src/test/properties/local/alfresco-global.properties | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties index 0d262ecbfc..7033784fec 100644 --- a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties +++ b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties @@ -39,9 +39,6 @@ share.protocol=http # Validates and auto-recover if validation fails index.recovery.mode=AUTO -# As we run embedded, we set Lucene -# TODO: Find a better solution for indexing, as buildonly (embedded Lucene) is deprecated and going to be removed soon -index.subsystem.name=buildonly # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disable them / set to future date # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597 @@ -68,5 +65,6 @@ cifs.enabled=false ftp.enabled=false # Solr config -index.subsystem.name=solr4 -solr.secureComms=none \ No newline at end of file +index.subsystem.name=solr6 +solr.secureComms=none +solr.port=8983 \ No newline at end of file From 1aa32f81e50d5e194ca83b0090032b2c3f54eb47 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Tue, 30 May 2017 18:04:59 +0100 Subject: [PATCH 2/5] RM-4978: Reverted changes in alfresco-global.properties --- .../src/test/properties/local/alfresco-global.properties | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties index 7033784fec..b3009c4bb8 100644 --- a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties +++ b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties @@ -39,6 +39,10 @@ share.protocol=http # Validates and auto-recover if validation fails index.recovery.mode=AUTO +# As we run embedded, we set Lucene +# TODO: Find a better solution for indexing, as buildonly (embedded Lucene) is deprecated and going to be removed soon +index.subsystem.name=buildonly + # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disable them / set to future date # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597 @@ -65,6 +69,5 @@ cifs.enabled=false ftp.enabled=false # Solr config -index.subsystem.name=solr6 +index.subsystem.name=solr4 solr.secureComms=none -solr.port=8983 \ No newline at end of file From d67d54147309c7e9a1b841fe0c0c4fd57c2b8247 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Tue, 30 May 2017 18:09:11 +0100 Subject: [PATCH 3/5] RM-4978: Reverted changes in alfresco-global.properties --- .../src/test/properties/local/alfresco-global.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties index b3009c4bb8..b09a317141 100644 --- a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties +++ b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties @@ -70,4 +70,4 @@ ftp.enabled=false # Solr config index.subsystem.name=solr4 -solr.secureComms=none +solr.secureComms=none \ No newline at end of file From 6a1808eef1bb4c9f359e79f890fa0f96d46c85a5 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Tue, 30 May 2017 18:09:52 +0100 Subject: [PATCH 4/5] RM-4978: Reverted changes in alfresco-global.properties --- .../src/test/properties/local/alfresco-global.properties | 1 - 1 file changed, 1 deletion(-) diff --git a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties index b09a317141..0d262ecbfc 100644 --- a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties +++ b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties @@ -43,7 +43,6 @@ index.recovery.mode=AUTO # TODO: Find a better solution for indexing, as buildonly (embedded Lucene) is deprecated and going to be removed soon index.subsystem.name=buildonly - # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disable them / set to future date # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597 # If you want to enable them (and so full WQS functionality), please also set index.subsystem.name=lucene From 74c40cd4458887aaa068436c5e145415f2413d51 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Wed, 31 May 2017 17:36:15 +0100 Subject: [PATCH 5/5] RM-4978: Updated README file and removed duplicate property. --- README.txt | 20 +++++++++++++++++-- .../local/alfresco-global.properties | 3 --- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.txt b/README.txt index 637a6736fd..c834ccf83d 100644 --- a/README.txt +++ b/README.txt @@ -77,9 +77,9 @@ To download and run RM with the Outlook Integration AMPs installed on the repo a mvn clean install -Pstart-share,outlook-integration Follow these instructions install licence and Outlook plugin: - + - http://docs.alfresco.com/outlook2.1/tasks/Outlook-license.html - - http://docs.alfresco.com/outlook2.1/tasks/Outlook-install_v2.html + - http://docs.alfresco.com/outlook2.1/tasks/Outlook-install_v2.html @@ -100,3 +100,19 @@ Code Formatting: ---------------- This project follows the usual Alfresco Coding Standards. If you use Eclipse or IntelliJ, there are settings inside the ide-config directory for you to import. + + +Use Solr 6 with Alfresco 5.2.x: +------------------------------- +In alfresco-global.properties (depending on the RM edition /records-management/rm-community/rm-community-repo/src/test/properties/local or /records-management/rm-enterprise/rm-enterprise-repo/src/test/properties/local) +change the value for "index.subsystem.name" from "solr4" to "solr6". +Add also the following property "solr.port=8983". + +Download the latest Alfresco Search Services from +https://nexus.alfresco.com/nexus/#nexus-search;gav~~alfresco-search-services~~~ +Currently it's 1.0.0 (alfresco-search-services-1.0.0.zip) + +Unzip it and change to the "solr" folder within it. Start the Solr server using the following command: +solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" + +Start your repository \ No newline at end of file diff --git a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties index 0d262ecbfc..06249c5121 100644 --- a/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties +++ b/rm-community/rm-community-repo/src/test/properties/local/alfresco-global.properties @@ -39,9 +39,6 @@ share.protocol=http # Validates and auto-recover if validation fails index.recovery.mode=AUTO -# As we run embedded, we set Lucene -# TODO: Find a better solution for indexing, as buildonly (embedded Lucene) is deprecated and going to be removed soon -index.subsystem.name=buildonly # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disable them / set to future date # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597