Search
Perform a global search across tickets, articles, and other doctypes.From
helpdesk/api/search.py - Uses Frappe’s full-text search with custom relevance ranking.Parameters
DocType to search (e.g., “HD Ticket”, “HD Article”)
Search query string
Additional filters to apply to search results
Response
Returns array of matching documents with relevance scores:Example
Get Filter Options
Retrieve available filter options for a doctype.Parameters
DocType to get filter options for
Response
Returns available filters with their options:Article Search
Search knowledge base articles with NLP-powered relevance.From
helpdesk/api/article.py - Uses advanced search with article content indexing.Parameters
Search query for articles
Optional category filter
Response
Returns matching articles with snippets:Example
Search Features
Full-text Search
Frappe Helpdesk uses MariaDB full-text indexing for fast search across:- Ticket subjects and descriptions
- Article titles and content
- Contact names and emails
- Comment text
NLP Search for Articles
Article search includes:- Stemming and lemmatization
- Relevance ranking
- Content snippet extraction
- View count boosting
Permissions
Search respects DocType permissions:- Customers see only their own tickets
- Agents see all assigned or team tickets
- Public articles visible to all
- Draft articles only visible to agents
Performance
Search queries are optimized with:- Database indexes on searchable fields
- Query result caching
- Pagination support
- Configurable result limits
Related Endpoints
Articles API
Detailed article operations
Tickets API
Ticket-specific queries