cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to configure solr sharding with ACS 7.0 Community and ASS 2.0.1

luis_alventosa
Champ on-the-rise
Champ on-the-rise

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

4 REPLIES 4

abhinavmishra14
World-Class Innovator
World-Class Innovator

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. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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

Hi!

According official doc, It's supported.

Cheers,

Cristina.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

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

Hyland Developer Evangelist