Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Lucene index - production deployment and maintenance

Avatar

Level 4

Hi All,

We create Lucene index definition under /oak:index, if we want to index only specific paths we can create this under specific paths also. We create these nodes through CRXDE. But in a production environment we need a better way to plan deployment of indexes and maintenance of them. In Production, we would have multiple publish instances, indexes should be present on all instances.

I could think of "Create a separate package for index definitions, which can be deployed through Continuous Integration tools like Jenkins." 

Are there any best practices for handling this in better way? Would index definitions through code trigger re indexing or create any other issues?

Thanks
Sandeep

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Sandeep,

    Deploying through ci looks good to me. OOB initial install creates programatically & should not be an issue.

Thanks,

View solution in original post

2 Replies

Avatar

Level 10

Best practices with Oak Index is covered in this GEMS session: 

https://docs.adobe.com/ddc/en/gems/oak-lucene-indexes.html

Hope this helps. 

Avatar

Correct answer by
Level 9

Hi Sandeep,

    Deploying through ci looks good to me. OOB initial install creates programatically & should not be an issue.

Thanks,