classes that model the various choices controling indexing and retrieval