Replicating a lucene index

B_Stockwell 20-08-2018

I have an index at /oak:index/newsSearch that works great, however, I can't figure out how to get it up on my publishers.

I don't have direct access to the publishers and don't trust my sysadmins to configure the index there (especially over multiple publishers)--they also don't trust me with credentials on the publisher.

How can I replicate this index? Tree activation and building a package don't seem to work, nor does replicating in crx de lite.


Answers (4)

Answers (4)


Test it upfront. And also be aware that at the time the index is replicated to the publishs, the publishs will start immediately with reindexing, which is typically a performance hit.

You could also package the the index definition  or work with EnsureOakIndex (ACS AEM Commons) to decouple deployment of the index definition with its application and the index rebuild.