Handling and Deployment of Custom OAK index | Readiness for AEM as Cloud Service | Community
Skip to main content
Level 4
March 10, 2021
Solved

Handling and Deployment of Custom OAK index | Readiness for AEM as Cloud Service

  • March 10, 2021
  • 2 replies
  • 4989 views

Hi Team,

We are currently using custom oak indexes and using Ensure Oak Index to have mapping and deployment from /apps/site/oak-index mapped to oak:index.

 

While checking readiness for AEM as cloud service, its mentioned that Ensure OAK index is incompatible with AEM as cloud service. https://adobe-consulting-services.github.io/acs-aem-commons/features/ensure-oak-index/index.html

 

What is the recommended way to manage and deploy custom oak:indexes in this scenario. let us know your thoughts.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijayalakshmi_S

Hi @nehama,

Custom oak index in AEM as a cloud service has to be with specific naming convention and it is to be part of ui.apps module.

Complete details of index management is available in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/operations/indexing.html?lang=en

 

2 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
March 10, 2021

Hi @nehama,

Custom oak index in AEM as a cloud service has to be with specific naming convention and it is to be part of ui.apps module.

Complete details of index management is available in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/operations/indexing.html?lang=en

 

Level 3
February 7, 2022

Hi Vijayalakshmi,

We are using AEM as cloud. While we make the custom index as part of our code and try to deploy, the deployment fails in the code scanning, saying 'The index /oak:index/damAssetLucene-7-custom-1 is a customization of the out of the box index /oak:index/damAssetLucene which requires a config.xml file under the child node named tika'. But we already have the tika folder as part of our source code and the config.xml inside it. Do you know how to resolve this? Any suggestion would be greatly appreciated.

Thanks,
Rahul

Vijayalakshmi_S
Level 10
February 7, 2022

@rahulmohan 

Can you confirm if tika node is saved/available as nt:unstructured node (as opposed to a folder)

You can cross check with OOTB damAssetLucene-7 as available in cloud service instance. (and use the same node type)

cc96470700
Level 2
March 11, 2022

Was there a solution to the ticket you raised? I am experiencing the same issue and the documentation provided in the accepted solution isn't helpful.

 

Thanks!

Level 2
April 5, 2022

Is there a solution for this ? I am also having the same issue. 

cc96470700
Level 2
April 6, 2022

Yes, we were able to solve this issue by updating the tika section to this: 

<tika jcr:primaryType="nt:unstructured">
<config.xml jcr:primaryType="nt:file" >
<jcr:content jcr:primaryType="nt:unstructured" />
</config.xml>
</tika>