Forcing xpath query timeouts

Avatar

Avatar

roberth55706517

Avatar

roberth55706517

roberth55706517

26-11-2018

I have a client that is on AEM 6.2 and I am being asked to set timeouts on xpath searches. Looking at the documents for javax.jcr.query.QueryManager, I don't see any way to do this.

Is there a way to watch a query's execution time and kill the thread after X number of seconds?

View Entire Topic

Avatar

Avatar

vipins5188

Avatar

vipins5188

vipins5188

26-11-2018

Alternatively you can create oak indexes to optimise your query.