Hello! I have a strange problem with lucene search. Everytime I execute a "search string" I get diffrent results number. First run: 956 Second run: 1045 Third: 921 4th: 1237
It doen't matter if run lucene search in a web script or in the Alfresco Node Browser.
Any idea what could be wrong?
My search string: PATH:"/app:company_home/cm:Repository//*" AND -PATH:"//cm:content_status/cm:draft/member" AND TYPE:"cm:content" AND PATH:"/cm:categoryRoot/cm:generalclassifiable/cm:Register/cm:Tag1//*"
There is a timeout during the evaluation of permissions of matching nodes. The permission evaluations stops and only already checked nodes are returned by the whole search mechanism. What you experienced is probably a side effect of that timer.
Hello, thanks for answering! I tried to set system.acl.maxPermissionCheckTimeMillis from 1000ms to 20000ms. When the value was 1000ms I got less results, about 1/10 of the ususal number. In range 5000 to 20000ms the result number was the same as before, still different for every search execution.