docs: DocumentExtractor get(UUID queryId) {
        DocumentExtractor extractor = queries.get(queryId);
        if (extractor == null) {
           throw new IllegalStateException("Query not found: " + queryId);
        }
        return extractor;
     }