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

binoyp
Level 2
Level 2

Hi All,

 

The http://localhost:4502/etc/solr/solrindexer.html url opens up an empty page when checked in aem 6.5.

However, this is working in version 6.4. Couldnt find a more recent article on integration with 6.5

Could anyone advice on this issue ?

Reference :https://helpx.adobe.com/experience-manager/using/aem_solr64.html

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution
Shashi_Mulugu
Correct answer by
Community Advisor
Community Advisor

Best thing is create a new project from latest AEM maven archetype and start copy pasting code as needed from the integration post along with pom dependencies..

 

If you want to upgrade, start comparing dependencies version from newly created project vs the post

Ex: uberjar which is 6.3.0 in that post, to run on 6.5 you need 6.5.0 or more etc..

View solution in original post

0 Replies
Peter_Puzanovs
Community Advisor
Community Advisor

Hey Bino,

 

This article has been created and tested on AEM 6.4.

 

If you want to use this code in 6.5 you need to perform upgrade of this demo code from 6.4 to 6.5 then it would work.

 

Regards,

Peter

binoyp
Level 2
Level 2
Hi Puzanov, Could you kindly let me know what exactly needs to be upgraded . Im relatively new to this integration part. It would be really helpful if you can advise further on this.
binoyp
Level 2
Level 2
Hi @Peter_Puzanovs , Ive tried updating the code from the dependencies perspective. Still facing issues on the same. Would you be having any more specific info on the upgradation part?
Shashi_Mulugu
Correct answer by
Community Advisor
Community Advisor

Best thing is create a new project from latest AEM maven archetype and start copy pasting code as needed from the integration post along with pom dependencies..

 

If you want to upgrade, start comparing dependencies version from newly created project vs the post

Ex: uberjar which is 6.3.0 in that post, to run on 6.5 you need 6.5.0 or more etc..

View solution in original post

anjabed
Level 2
Level 2

Hi, 
we had the same problem in 6.5 but it also exists in 6.4 until SP4 with the example code from documentation.

 

Can you please describe how you fixed it because the marked answer I do not understand because ueber.jar in 6.4 is the same as in 6.4.4. The difference is that the page is white in 6.4.4 but works in 6.4.3.

 

Hope you can help me.

binoyp
Level 2
Level 2
Im yet to get a solution for the same as well. I tried replacing few dependencies but came around to the same issue again.
SumanSatija4
Level 2
Level 2
Even i am having same problem while doing it with aem 6.5 .... did you guys were able to solve your issue ?
熊超
Level 1
Level 1

Hello, I also encountered this kind of problem in AEM6.2 and AEM6.4,

but I have solved it now. My reason is because http://localhost:4502/etc.clientlibs/clientlibs/granite/utils.js The self.eval method is inconsistent with the original version;

Eval("") is used in AEM6.2;

JSON.parse("") is used in AEM6.4;

Therefore I modified the indexingoptions.json in AEM6.4 to [ { "value": "indexPages", "text": "Index Pages", "qtip": "Index Pages" } ]

Hope it helps you

Thank you😄

ArchR
Level 1
Level 1
Adding the dependencies as in POM is not getting the bundle to active state. Still with the same issue org.apache.solr.client.solrj,version=[5.4,6) -- Cannot be resolved org.apache.solr.client.solrj.impl,version=[5.4,6) -- Cannot be resolved Any other work arounds?