1. A method of selecting desired documents from a document collection comprising: reading a query expression, said expression indicating a first subset of said collection; reading an analysis indicator of an analysis to be performed on said first subset; and generating an analysis output by performing said analysis on said first subset.