Patent attributes
Aspects of the present invention disclose a method, computer program product, and system for generating search results based on access control of a requesting user. The method includes one or more processors receiving a search query from a user. The method further includes generating a first candidate list of search results based on the received search query. The method further includes generating a second candidate list of search results based on the received search query. Generating the second candidate list of search results includes filtering out potential search results based on indexed access privilege data. The method further includes determining a subset of search result entries in the first candidate list by analyzing a defined number of search result entries in the first candidate list. Analyzing the defined number of search result entries includes attempting to access entries of the defined number utilizing access credentials of the user.