How to stop running index like "/oak:index/cqTagLucene" in AEM | Community
Skip to main content
April 3, 2018

How to stop running index like "/oak:index/cqTagLucene" in AEM

  • April 3, 2018
  • 3 replies
  • 4657 views

How to kill or stop running  OOTB index .  Actually , i want to add excludepaths then reindex again that will be quick for us .

Somehow this index has been re-trigger and running from 4 days (our system has millions of assets with .pdf files thats taking time). if we could exclude path and re-index again that will be solve our problem .

Regards,

Mukesh Jha

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

3 replies

kautuk_sahni
Community Manager
Community Manager
April 3, 2018

Check this Troubleshooting Oak Indexes and  read "How to Abort Reindexing"Jackrabbit Oak – Indexing

Kautuk Sahni
April 3, 2018

Hi Kautuk ,

i have tried with link "Jackrabbit Oak – Indexing " . it seems doesn't worked , still i can see indexing is running .

-Mukesh Jha

smacdonald2008
Level 10
April 3, 2018

Did you go through all of this doc as Kautuk suggested -- Troubleshooting Oak Indexes

April 3, 2018

Yes , i read that docs .

i have followed below steps for abort index .

1. To identify the appropriate lane and thus the IndexStats MBean instance, look at the Oak Indexes "async" property. The "async" property will contain the lane name: async, async-reindex, or fulltext-async.

2.Invoke the abortAndPause() command on the appropriate IndexStats MBean.

3.When re-indexing an existing index, set the reindex property to false

  • /oak:index/someExistingIndex@reindex=false

4.Commit the changes to the repository when complete.

5. Finally, resume asychronous indexing on the aborted indexing lane.

  • In the IndexStats MBean that issued the abortAndPause() command in Step 2, invoke the resume() command.