Welcome to the Apache ManifoldCF Blog: Connecting Enterprise Content to Search Engines

  • Architecture
  • Security
  • Enterprise Search
  • Connectors

1. Introduction: The Enterprise Content Integration Challenge

In modern enterprise environments, valuable unstructured content resides across dozens of disparate repositories—including Microsoft SharePoint, Atlassian Confluence, CMIS platforms, network file shares, databases, and cloud platforms like Google Drive and Amazon S3.

Building an effective search experience across these repositories requires solving two major challenges:

  1. High-performance, Incremental Ingestion: Reliably extracting documents, metadata, and updates from diverse repositories without placing undue load on source systems.
  2. Document-Level Security (ACL) Enforcement: Ensuring that users only see search results for documents they have explicit permission to access in the source repository.

Apache ManifoldCF™ is an open-source framework specifically architected to solve both of these challenges seamlessly.

Key Takeaway: Apache ManifoldCF acts as an intelligent middleware layer that continuously crawls source repositories, extracts metadata and security ACLs, and feeds target search engines (like Apache Solr, Elasticsearch, and OpenSearch) while maintaining security trimming.

2. Core Architecture & Connector Model

ManifoldCF’s modular architecture relies on distinct types of pluggable connectors:

Connector Type Role & Functionality Example Connectors
Repository Connectors Fetch documents, version strings, metadata, and raw content streams from source systems. SharePoint, CMIS, Jira, Confluence, Web, File System, HDFS, Google Drive, Amazon S3
Authority Connectors Query authentication systems to retrieve active user and group security tokens for search-time ACL filtering. Active Directory, LDAP, SharePoint Authority, Generic JSON Authority
Transformation Connectors Process document streams between extraction and indexing (text extraction, metadata mapping, filtering). Apache Tika, Forced Metadata, OpenNLP, Content Limiter
Output Connectors Receive processed document streams and push indexed data and security tokens to target repositories. Apache Solr, Elasticsearch, OpenSearch, Amazon CloudSearch, Kafka, HDFS

A typical ManifoldCF ingestion job configures a Repository Connector to pull documents, optional Transformation Connectors to extract text, and an Output Connector to index data into Apache Solr, OpenSearch, or Elasticsearch.

3. Security Trimming & ACL Enforcement

Unlike naive crawlers that ignore document permissions, ManifoldCF captures the exact Access Control Lists (ACLs) associated with each document.

When indexing a document, ManifoldCF attaches security tokens representing:

  • Allow Tokens: Groups and users allowed to view the document.
  • Deny Tokens: Groups and users explicitly restricted from viewing the document.
  • Parent/Folder Tokens: Hierarchical permission inheritance.

At search time, the search application queries ManifoldCF’s Authority Service (/mcf-authority-service/UserACLs) using the logged-in user’s identity. The Authority Service returns the user’s active security tokens, which are appended to the search query:

// Example Solr Filter Query generated by ManifoldCF Authority Service
fq=(allow_token_document:"group_engineering" OR allow_token_document:"user_john_doe")
   AND NOT (deny_token_document:"group_restricted")

This ensures instant, security-trimmed search results with minimal query-time latency overhead.

4. Supported Repositories & Output Targets

Apache ManifoldCF ships out-of-the-box support for a broad ecosystem of enterprise systems:

  • Enterprise Content Management (ECM): Microsoft SharePoint, CMIS, Alfresco, OpenText LiveLink.
  • Collaboration & Cloud: Atlassian Confluence, Atlassian Jira, Amazon S3, Google Drive, Dropbox.
  • Data Stores & Files: Windows/Linux File Systems, HDFS, JDBC/SQL Databases, Web Crawling, RSS feeds.
  • Search & Storage Destinations: Apache Solr, OpenSearch, Elasticsearch, Apache Kafka, MongoDB, Amazon CloudSearch, File Output.

5. Looking Ahead: Blog Roadmap & Community

This first article marks the beginning of our ongoing engineering blog series. Upcoming topics include:

  • Configuring high-throughput crawling for 10M+ document repositories with Java 25 Virtual Threads.
  • Running the Spring Boot 4.2 executable WAR, Modern Admin Console (/ui/), and REST API v2 GitOps workflows.
  • Building custom Repository and Output Connectors with the Apache ManifoldCF SDK.
  • Deploying ManifoldCF in Kubernetes and Docker container environments.

We invite you to get involved with Apache ManifoldCF—explore the Technical Wiki, join our mailing lists, or contribute directly on GitHub.