Prompt
How do I make search work across tickets, wikis, and knowledge bases?
Latest observation
Oct 12, 2026
OpenAI APIWeb search: off
To make search work across tickets, wikis, and knowledge bases, you usually need a single search index that ingests content from each system and normalizes it for querying.
High-level approach
-
Identify all content sources
- Tickets: subject, description, comments, tags, status, requester, assignee
- Wikis: title, body, page hierarchy, tags
- Knowledge base articles: title, summary, body, categories, version, published state
-
Extract content from each source
- Use APIs, database sync, or webhooks
- Capture changes continuously if possible:
- create/update/delete events
- permissions changes
- article publication state changes
-
Normalize into a common document model Example fields:
idsource_type(ticket,wiki,kb)titlebodysummarytagsauthorcreated_at,updated_aturlaccess վերահ/ACL fieldsstatus
-
Index into a search engine Common options:
- Elasticsearch / OpenSearch
- Solr
- PostgreSQL full-text search for simpler needs
- Managed search services like Algolia or Azure Cognitive Search
-
Support filtering and ranking
- Search across all sources by default
- Allow filters:
source_type:ticketsource_type:wikisource_type:kb
- Rank by relevance, recency, popularity, or source priority
-
Handle permissions
- Critical if tickets are private or scoped by team/customer
- Enforce ACLs at query time or pre-filter by indexed permission metadata
-
Build a unified search UI
- One search bar
- Results grouped by type or mixed together
- Snippets/highlights
- Facets for source, date, status, tags
Important considerations
- Incremental sync: keep the index updated in near real time
- Deduplication: avoid indexing the same content twice
- Synonyms and stemming: improve recall (“bug” vs “issue”, pluralization, etc.)
- Attachments: optionally OCR/PDF text extraction
- Relevance tuning: title matches and fresh KB articles may deserve higher weight
Simple architecture
Tickets/Wikis/KB systems → sync jobs/webhooks → normalization layer → search index → search API → UI
If you want, I can also sketch:
- a sample data schema
- an Elasticsearch/OpenSearch mapping
- or a step-by-step implementation plan for a specific stack.