As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I sent a request that search nodes(api/-default-/public/search/versions/1/search) with pagination params like
skipCount = 1930
maxItems = 10
and I recieved a response like
totalItems = 1938
count = 2
why count is not 8?
I think totalItems is wrong.
I believe the totalItems count is taken from the raw SOLR search response whereas the count of 2 (and the difference from the expected 😎 can be explained that during post-processing of the 8 results, some had to be filtered out for some reason (e.g. dynamic "deny" permissions that could not be checked during the raw SOLR search). There can also be issues with the eventually consistent search index, e.g. new ACLs (which restrict the access to some nodes) may not yet have been indexed, so that the count from SOLR is slightly off from the actual count, and the post-processing has made sure that even when ACLs are not indexed yet you still only get the results you are allowed to see.
Thank you for reply.
I understood.