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

Avatar

Avatar

Mukesh_leo

Avatar

Mukesh_leo

Mukesh_leo

02-04-2018

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

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

03-04-2018

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

Avatar

Avatar

Mukesh_leo

Avatar

Mukesh_leo

Mukesh_leo

03-04-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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

03-04-2018

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

Avatar

Avatar

Mukesh_leo

Avatar

Mukesh_leo

Mukesh_leo

03-04-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.