Selection of documents available for a function, for example for searching with the help of the Retrieval System.