Replicating a lucene index | Community
Skip to main content
Level 4
Aug 21, 2018 6:03 AM UTC
Solved

Replicating a lucene index

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.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
leoberliantAccepted solution
Employee
Aug 21, 2018 2:36 PM UTC

You can use CRXDe to replicate the index. See an example:

5 replies

joerghoh
Employee
Aug 21, 2018 6:14 PM UTC

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.

regards,

Jörg

Translate
BenSt10Author
Level 4
Aug 21, 2018 2:51 PM UTC

Thanks. I don't know why I didn't think this worked. In my defense it was late.

Translate
smacdonald2008
Level 10
Aug 21, 2018 2:49 PM UTC

Thanks Leo for the great response.

Translate
leoberliantAccepted solution
Employee
Aug 21, 2018 2:36 PM UTC

You can use CRXDe to replicate the index. See an example:

Translate
BenSt10Author
Level 4
Aug 21, 2018 1:06 PM UTC

I should also mention we're on 6.2

Translate