Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.5 Solr integration issue with Solr 8.x

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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...

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

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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...

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

 

Avatar

Level 1
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?