Hi Bruno,
If I understand the explanation above, it sounds like it is mostly
working for you however, what you are saying is that it is stopped at
700 or so HEAD requests and not finding that one document that the
user has access to. Is this correct?
If so, the problem is likely that you are hitting a timeout. Check
your settings in Serving -> Access Control (see the timeouts at the
bottom) and you can try adjusting that. One other thing is that the
GSA will only return 1000 results for any query too so you would only
1000 max HEAD requests as long as they can finish within the timeout
limit. I think the max you can set the timeout limit is 25 seconds for
the whole result set and 5 seconds per individual request. So if your
server cannot respond to 1000 requests in 25 seconds, then you will
likely not see results. In most cases in real life searching this
would not be an issue since you would likely not have a user that has
only access to 1 single document out of 1000 results.
Hope this helps.
Brian