The document package contains all document types which will be indexed. Each element of the search index must be an OlatDocument. All the different document classes implement a static createDocument method fpr each type.