Implements queryable document repository