Prompt
I’m building a search experience that should work across docs, messages, tickets, and intranet pages. What architecture is common?
Latest observation
Oct 13, 2026
OpenAI APIWeb search: off
A common architecture is a federated / hybrid enterprise search setup:
1) Connectors ingest content from each source
- Docs, messages, tickets, intranet pages all have separate source connectors
- Each connector handles:
- authentication / permissions
- incremental sync
- change detection
- content normalization
2) Normalize into a common search document model
Map all content into a shared schema, for example:
idsource_type(doc, message, ticket, page)titlebodyauthorcreated_at,updated_attagsACL / permissionsmetadatafields specific to source
3) Index into a search backend
Common choices:
- Elasticsearch / OpenSearch
- Solr
- sometimes vector + keyword hybrid search systems
Usually the index supports:
- full-text search
- filtering/faceting
- sorting
- permission-aware retrieval
4) Query layer routes and merges results
There are two common patterns:
A. Unified indexed search
All content is indexed into one or a small set of indexes, and queries search across them.
- simplest for a consistent UX
- easiest for ranking across sources
B. Federated search
The query layer searches each system separately, then merges/reranks results.
- useful when you can’t fully ingest all data
- harder to rank consistently
- more latency and operational complexity
5) Permission trimming
For enterprise search, access control is critical:
- filter results by user/group permissions
- do it at index time if possible, or at query time
- ensure documents never leak through snippets or ranking signals
6) Relevance ranking and reranking
Typical ranking pipeline:
- lexical match first
- boosts for recency, source importance, author relevance, etc.
- optional semantic reranking / vector search for meaning-based retrieval
- business rules like “tickets from current project” or “docs from your team”
7) UX layer
Search results are usually grouped or labeled by source:
- tabs: All / Docs / Messages / Tickets / Pages
- facets: source, date, author, project, status
- preview snippets, highlighted terms
- deep links back to source system
Most common “practical” architecture
For your use case, the most common design is:
Connectors → normalization pipeline → central search index → permission-aware query API → search UI
If you want, I can also sketch:
- a reference architecture diagram,
- a data model for the unified index, or
- the tradeoffs between federated vs centralized search.