As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want to change solr-config but i haven't any example. Can you help me ?
Hi:
Check the following links to familiarize with SOLR configuration:
Configuring search with Solr 4 | Alfresco Documentation
Configuring Alfresco Search Services with Solr 6 | Alfresco Documentation
Regards.
--C.
I have read them many times but i couldn't any change.
May you be more specific ? For example, do you use SOLR 4 or SOLR 6 ? what version of Alfresco do you use ? or just what type of configuration change do you want to do ?
P.S: Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing.
Alfresco edition 6.0 - General Release: 201806
Or you can just add a new "JAVA_OPTS" entry at
https://github.com/Alfresco/SearchServices/blob/master/packaging/src/docker/6.x/docker-compose.yml#L6
Hi,
I want to configure alfresco.cron SOLR property in my docker-compose.yml file within SOLR_OPTS. And I try to do that, like this:
ng-office-ass: image: alfresco/alfresco-search-services:2.0.1 environment: SOLR_ALFRESCO_HOST: ng-office-acs SOLR_ALFRESCO_PORT: 8080 SOLR_SOLR_HOST: ng-office-ass SOLR_SOLR_PORT: 8983 SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive ALFRESCO_SECURE_COMMS: none SOLR_OPTS: "$SOLR_OPTS -Dalfresco.cron=0/2 * * * * ? *" ports: - "8983:8983" volumes: - ng-office-ass-volume:/opt/alfresco-search-services/contentstore - ng-office-ass-volume:/opt/alfresco-search-services/data depends_on: - ng-office-acs
But the result is the next error:
ng-office-ass_1 | Error: Could not find or load main class contentstoreng-office-ass_1 | Caused by: java.lang.ClassNotFoundException: contentstore
A also tried to add this property as a new "JAVA_OPTS" entry. I didn't get any error message, but after I checked solrcore. properties file in my ass container I can see that alfresco.cron property is the same.
I read all the documentation, and I cannot found how to configure solr properties(https://docs.alfresco.com/search-services/latest/config/properties/#solr-core-configuration-properties) in the docker-comose.yml file.