Prompt
How do I make search pull from docs, tickets, and wiki pages all at once?
Latest observation
To make search pull from docs, tickets, and wiki pages together, you usually need to do one of these:
1) Use a unified search index
Index all three content types into the same search engine, with a shared schema like:
titlebodysource_type(doc,ticket,wiki)urlupdated_attags
Then search across that single index and show the source type in results.
2) Query multiple sources at search time
If you can’t unify indexing, have your search layer fan out to:
- docs search
- ticket search
- wiki search
Then merge and rank the results in the app.
3) If you’re using a platform/tool, enable “all sources”
Some systems already support this with a setting like:
- Search all content sources
- Include connected apps
- Global search scope
You’d turn on docs, tickets, and wiki in the search configuration.
Recommended approach
If you want good relevance and fast search, use a single unified index with source metadata. That gives you:
- one query
- consistent ranking
- easier filtering
- simpler UI
Example implementation idea
When ingesting content:
- Docs → index as
source_type: "doc" - Tickets → index as
source_type: "ticket" - Wiki → index as
source_type: "wiki"
Then search:
SELECT * FROM search_index
WHERE match(query, title, body)
ORDER BY relevance DESC
LIMIT 20;
And optionally filter:
WHERE source_type IN ('doc', 'ticket', 'wiki')
If you want, I can show you how to do this in a specific stack like Elasticsearch, OpenSearch, PostgreSQL full-text search, or a SaaS tool like Confluence/Jira/Notion/SharePoint.