AEM 6.5 Solr integration issue with Solr 8.x | Community
Skip to main content
September 21, 2020
Solved

AEM 6.5 Solr integration issue with Solr 8.x

  • September 21, 2020
  • 1 reply
  • 1636 views

I run AEM 6.5 with oak index that works just fine with Solr 7.x and 6.x.  When I try to index AEM into Solr 8.x it seem to populate the index but when I query in Solr console it does not return any results.  Please help me to find out why this happens and whether AEM 6.5 support Solr 8.x.  Thanks so much in advance.  --Nathan.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aemmarc2

Hi Nathan,

 

AEM does not support Solr 8x for oak indexes due to non-backwards compatible schema changes. The crux is the underlying version of Lucene used within AEM (4.7.1).

AEM 6.5.6 actually uses Solr 6.6.6 [1][2] -- which may work with 7.x Solr in a limited way.

 

If you're using Solr as an SRP (Storage Resource Provider) in conjunction with Mongo then you should be able to use whatever you want. 

 

[1] -- https://github.com/apache/jackrabbit-oak/tree/1.22/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr

[2] -- https://issues.apache.org/jira/browse/OAK-8235

 

1 reply

aemmarc2Adobe EmployeeAccepted solution
Adobe Employee
September 22, 2020

Hi Nathan,

 

AEM does not support Solr 8x for oak indexes due to non-backwards compatible schema changes. The crux is the underlying version of Lucene used within AEM (4.7.1).

AEM 6.5.6 actually uses Solr 6.6.6 [1][2] -- which may work with 7.x Solr in a limited way.

 

If you're using Solr as an SRP (Storage Resource Provider) in conjunction with Mongo then you should be able to use whatever you want. 

 

[1] -- https://github.com/apache/jackrabbit-oak/tree/1.22/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr

[2] -- https://issues.apache.org/jira/browse/OAK-8235

 

nmarbukhAuthor
September 23, 2020
Thank you Marc for confirming my thoughts. I appreciate it. Do you know if there are any plans on a future to support Solr 8.x, and if yes when?