"is selected, a retrieval system could query the kinds of documents found" . . . .