Skip to main content
Level 3
Oct 16, 2015 2:28 AM UTC
Solved

Solr integration with AEM 6.0.0

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

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

11 replies

Level 4
Oct 16, 2015 2:28 AM UTC

Thanks!

But it indexes the entire repository.

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

Translate
Community Manager
Oct 16, 2015 2:28 AM UTC

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

Translate
Level 4
Oct 16, 2015 2:28 AM UTC

Hello Alva,

Do you have any updates about documentation?

Translate
Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:28 AM UTC

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.

Translate
Community Manager
Oct 16, 2015 2:28 AM UTC

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

Translate
Rohit_Kumar_Rat
Oct 16, 2015 2:28 AM UTC

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

Translate
Community Manager
Oct 16, 2015 2:28 AM UTC

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

Translate
My_Srikanth_Scr
Oct 16, 2015 2:28 AM UTC

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.

Translate
Level 3
Oct 16, 2015 2:28 AM UTC

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!

Translate
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

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.SolrServerProviderService 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.EmbeddedSolrServerConfigurationProvider
Translate