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.4 solr integration

Avatar

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ajinkayk6258253
Level 2

11-07-2019

Hi all,

im working on solr aem integration and my bundle is in installed state as some of the dependencies are not resolved and as im searching for them in depfinder .it's showing no naven dependency??  i think it is transitive dependency of

<dependency>
  <groupId>org.apache.servicemix.bundles</groupId>
  <artifactId>org.apache.servicemix.bundles.solr-solrj</artifactId>
  <version>7.5.0_1</version>

</dependency>

as i change version of above dependency the below highlighted dependency version changes. pls help

1788858_pastedImage_0.png

Replies

Avatar

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

102 likes

Total Posts

240 posts

Correct Reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

102 likes

Total Posts

240 posts

Correct Reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile
hamidk92094312
Employee

11-07-2019

You may want to check this post that talks about similar issue:

Error: Solr Integration with AEM 6.4

Avatar

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
aemmarc
Employee

11-07-2019

Solr 7x, 8x are not supported in AEM.

This all sort of hinders on the underlying version of Lucene that's being used.

Even the latest version of jackrabbit-oak is using Solr 6.6.6 / Lucene 4.7.1

See : https://github.com/apache/jackrabbit-oak/blob/d665e3c3eba82bad0baf7122bdeda507bbb1bfb4/oak-parent/po...

    <lucene.version>4.7.1</lucene.version>

    <solr.version>6.6.6</solr.version>

----

Avatar

Avatar
Give Back 5
Level 4
joeb21688728
Level 4

Likes

33 likes

Total Posts

60 posts

Correct Reply

8 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile

Avatar
Give Back 5
Level 4
joeb21688728
Level 4

Likes

33 likes

Total Posts

60 posts

Correct Reply

8 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile
joeb21688728
Level 4

11-07-2019

Adobe released an Article and video that shows this working. You write Java code to actually interact with SOLR (this uses 6.4 and SOLR 6.2)

Adobe Experience Manager Help | Integrating SOLR with Adobe Experience Manager 6.4 

Avatar

Avatar
Validate 1
Level 2
amitkrt
Level 2

Likes

10 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
amitkrt
Level 2

Likes

10 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 5
View profile
amitkrt
Level 2

12-07-2019

Silly question but have you embed your dependency in your core pom?

Something like this

<app.bundle-embed-dependency>

solr-solrj,

zookeeper,other dependency;inline=true</app.bundle-embed-dependency>

Avatar

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ajinkayk6258253
Level 2

12-07-2019

@amitkrt thanks for your polite reply. but unfortunately yes, i have added embed-dependeny in core pom under  plugin with artifiactid maven-bundle-plugin

Avatar

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ajinkayk6258253
Level 2

12-07-2019

<plugin>
  <groupId>org.apache.felix</groupId>
  <artifactId>maven-bundle-plugin</artifactId>
  <extensions>true</extensions>
  <configuration>
  <instructions>
   <!-- Import any version of javax.inject, to allow running on multiple versions of AEM -->
   <Import-Package>javax.inject;version=0.0.0,!com.ibm.*,

  !com.sun.*,

  !javax.jmdns.*,

  !javax.jms.*,

  !jline.*,

  !org.jboss.netty.*,

  !org.relaxng.datatype.*,*

   </Import-Package>
  <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
  <Embed-Directory>OSGI-INF/lib</Embed-Directory>
  <Embed-Transitive>false</Embed-Transitive>
  <Sling-Model-Packages>
   com.solr.test.core

   </Sling-Model-Packages>
  </instructions>
  </configuration>
</plugin>

Avatar

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
ajinkayk6258253
Level 2

Likes

10 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ajinkayk6258253
Level 2

12-07-2019

there was a typo in pom file ... issue has been resolved ..thanks everyone for replying