07-23-2021 11:19 AM
Hello,
I need some help to understand what has changed in solr sharding with ASS 2.0.1 because things do not seem to be working as documented anymore.
I am using the alfresco 7 ansible scripts to deploy alfresco content services and alfresco search services.
I have followed the steps described in the documentation:
https://docs.alfresco.com/insight-engine/latest/config/sharding/create/
But it seems that Solr Admin Cores HTTP commands are no longer working.
alfresco@ip-172-31-19-169:~$ curl http://localhost:8983/solr/admin/cores?action=removeCore\&storeRef=workspace://SpacesStore\&coreName=alfresco <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 500 {metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=Wrong core admin action,trace=org.apache.solr.common.SolrException: Wrong core admin action at org.apache.solr.common.params.CoreAdminParams$CoreAdminAction.get(CoreAdminParams.java:174) ...
alfresco@ip-172-31-19-169:~$ curl http://localhost:8983/solr/admin/cores?action=SUMMARY <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 500 {metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=Wrong core admin action,trace=org.apache.solr.common.SolrException: Wrong core admin action at org.apache.solr.common.params.CoreAdminParams$CoreAdminAction.get(CoreAdminParams.java:174) ...
Has anyone encountered the same issues?
ASS 2.0.1 is deploying this version of Solr: Apache Solr version 6.6.5-patched.2
2021-07-23 12:43:09.701 INFO (main) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 6.6.5-patched.2 660ad3d2332b99205fbc436047f8d547511cd767 - tpage - 2019-11-27 08:18:56
What are the options for solr sharding with this Alfresco 7 Community and Solr 6.6.5 version?
Standalone solr nodes with multiple shards ?
SolrCloud ?
Any help would be much appreciated.
Thanks,
Luis Alventosa
07-30-2021 05:38 PM
You seems to be using community edition but reffering to enterprise editon docs. This is correct documentation for community. https://docs.alfresco.com/search-services/latest/
AFAICR, What you trying is not an option with community version. But wait for more responses.
08-29-2021 06:36 PM
Thanks a lot Abhinav for the quick response.
Could someone from the alfresco team confirm that solr sharding is not supported by ASS 2.0 community edition
Regards,
Luis
08-30-2021 03:26 AM
08-30-2021 04:27 AM
Solr Sharding has limited support for Community Edition, but it should be working.
These are different sample configurations with Docker, they are using Repository Enterprise Edition but they should be working with Repository Community Edition.
https://github.com/aborroy/solr-sharding-docker-compose
Explore our Alfresco products with the links below. Use labels to filter content by product module.