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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.3 and solr integration

Avatar

Avatar
Validate 10
Level 3
anilkum
Level 3

Likes

3 likes

Total Posts

65 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 3
anilkum
Level 3

Likes

3 likes

Total Posts

65 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
anilkum
Level 3

12-06-2017

Hi,

We integrated AEM 6.2 with solr using the below link - Adobe Experience Manager Help | Integrating SOLR with Adobe Experience Manager . However when we try the steps on AEM 6.3, it doesnt give expected results. Any pointers?

Thanks,

Anil

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-06-2017

After I made this Java change in the SolrSearchServiceImpl class - it works.

We will write the AEM 6.3 article this week that captures all steps...

AEM_SOLR63.png

Answers (6)

Answers (6)

Avatar

Avatar
Validate 1
Level 1
ajaykp
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
ajaykp
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
ajaykp
Level 1

07-02-2019

What is Adobe recommendation to integrate solr out of these two:

Solr as oak index or AEM with solr as rest based integration.

Avatar

Avatar
Level 1
ashishupreti92
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ashishupreti92
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ashishupreti92
Level 1

05-12-2017

I have one question. Why is the SolrServerConfiguration and corresponding impl custom created in code when we have OOTB 'Apache Jackrabbit Oak Solr remote server configuration' available?

Avatar

Avatar
Validate 10
Level 3
anilkum
Level 3

Likes

3 likes

Total Posts

65 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 3
anilkum
Level 3

Likes

3 likes

Total Posts

65 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
anilkum
Level 3

14-06-2017

Thanks Scott,

We faced another issue with one of SolrUtil method when indexing we.retail site.

Regards,

Anil

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-06-2017

Issue with Java code is it uses this call to get a session:

//Cannot get session like this in AEM 6.3

session = repository.loginAdministrative(null);

We are updating to this:

Map<String, Object> param = new HashMap<String, Object>();

  param.put(ResourceResolverFactory.SUBSERVICE, "datasolr");

  ResourceResolver resolver = null;

  try {

  

  //Invoke the adaptTo method to create a Session used to create a QueryManager

     resolver = resolverFactory.getServiceResourceResolver(param);

     session = resolver.adaptTo(Session.class);

I am testing & updating article.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-06-2017

That is because the article is for AEM 6.2. We have not updated that community article for 6.3.

Avatar

Avatar
Validate 1
Level 2
gauravs23
Level 2

Likes

7 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
gauravs23
Level 2

Likes

7 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
gauravs23
Level 2

13-06-2017

The questions in itself is not very clear, could you please elaborate about the problem? I assume that you are using same data set for testing the search, on AEM 6.2 as well as AEM 6.3 with Solr. When you say, AEM 6.3 doesn't give expected results, does it throw any exceptions or does it return empty results or does it return wrong results? Also, please post any relevant log errors, if any.