I have to search words in specific path and for that I have set the path range index in admin and tried the below code in query console but it is not working.
cts:search(fn:doc(),cts:path-range-query("/root/author/name","=","word"),"unfiltered")
I have tried with the relative path and absolute path but it is not working. It is not even giving error.
Please suggest.