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

Solr integration with AEM 6.0.0

danchapmanme
Level 4
Level 4

Is there any documentation yet how to integrate AEM 6.0 with Solr using the new Oak/Solr integration option. I want to push specific content paths e.g. /content/* to Solr.

Oak Solr embedded server configuration
Oak Solr indexing / search configuration
Oak Solr remote server configuration
Oak Solr server provider

1 Accepted Solution
Sham_HC
Correct answer by
Level 10
Level 10

Please file a daycare as I am not sure of doc availability & support. what i heard is there is various architecture for integration possible like "Embedded into same jvm as oak" OR "Single remote"  OR "Master/slave" OR "replica" etc...  The steps for embed are

  1. Set to "Embedded Solr" at http://host:port/system/console/configMgr/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrServ... after saving Creates solr directory under cq_home directory. Under directory you have solr related xml like schema etc....
  2. Add a node /oak:index/solrIdx with properties
    1. type=solr
    2. async=async   (Recommended)
    3. reindex=true
  3. Optionally for custom home directory instead of cq_home you can configure at http://host:port/system/console/configMgr/org.apache.jackrabbit.oak.plugins.index.solr.osgi.Embedded...

View solution in original post

0 Replies
Sham_HC
Correct answer by
Level 10
Level 10

Please file a daycare as I am not sure of doc availability & support. what i heard is there is various architecture for integration possible like "Embedded into same jvm as oak" OR "Single remote"  OR "Master/slave" OR "replica" etc...  The steps for embed are

  1. Set to "Embedded Solr" at http://host:port/system/console/configMgr/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrServ... after saving Creates solr directory under cq_home directory. Under directory you have solr related xml like schema etc....
  2. Add a node /oak:index/solrIdx with properties
    1. type=solr
    2. async=async   (Recommended)
    3. reindex=true
  3. Optionally for custom home directory instead of cq_home you can configure at http://host:port/system/console/configMgr/org.apache.jackrabbit.oak.plugins.index.solr.osgi.Embedded...
Katrien1
Level 3
Level 3

I am interested in knowing more too. There is a serious lack of documentation about the solr integration piece for aem 6.0 and what it exactly offers. When can we expect something?

Many thanks!

My_Srikanth_Scr
Level 1
Level 1

THanks, This will help to configure the SOLR in AEM6 correct? What we are interested is that we would like to find the steps to setup a search in a project or what are the different options provided to perform search using SOLR in AEM6. Please explain.

alvawb1
Employee
Employee

Hi,

This may help as well: http://jackrabbit.apache.org/oak/docs/osgi_config.html#Solr_Server_Configuration 

Please feel free to file a ticket, so that our documentation can be updated.

Regards,

Alva

Rohit_Kumar_Rat
Level 1
Level 1

Hi Alva,

We have learned that AEM 6.0 has embedded Apache Solr Engine running on CRX3 (OAK). Is there any concrete documentation around optimizing the index as per business requirement?

Once custom indexing schema is set, will querying using JQL, SQL2, XPath etc will honor our custom index schema? 

Thanks,
Rohit

alvawb1
Employee
Employee

Hi Rohit,

I've escalated the documentation requirement around this issue. I'm also looking into the answer for your specific question. I will post back here when I find out.

Regards,

Alva

Lokesh_Shivalingaiah
Community Advisor
Community Advisor

Hi Alva,

  It would be great if we can get this document ASAP as we dont have any information on using this feature of AEM 6.

Alex_Popov1
Level 4
Level 4

Hello Alva,

Do you have any updates about documentation?

alvawb1
Employee
Employee

Hi Popov555,

I do have some updates on the documentation. Info on queries and indexing are here: http://docs.adobe.com/content/docs/en/aem/6-0/deploy/upgrade/queries-and-indexing.html. This describes how to configure AEM with an embedded Solr server and a remote Solr server. There's also a link to more information at the Apache Solr website. Let me know if that covers the questions you have. There are still more updates coming to the documentation.

Regards,

Alva

Alex_Popov1
Level 4
Level 4

Thanks!

But it indexes the entire repository.

Could you please suggest how I can index a particular path (e.g. /content/dam/*)?

yogaraj_j
Level 1
Level 1

Do you have documentation on setting up remote solr.