Frappe Search
Frappe Search enables powerful, global search functionality across your custom Frappe apps.
- Author: rtCamp
- Repository: https://github.com/rtCamp/frappe_search
- GitHub stars: 8
- Forks: 0
- License: AGPL-3.0
- Category: Manufacturing
- Maintenance: Minimally Maintained
- Frappe versions: develop, v16
Install Frappe Search
bench get-app https://github.com/rtCamp/frappe_search
Tags
- production
- tier-1
Add the Frappe Gems badge to your README
Maintain Frappe Search? Paste this into your README:
[](https://frappegems.com/gems/apps/rtCamp/frappe_search)
About Frappe Search
## Frappe Search
Frappe Search enables powerful, global search functionality across your custom Frappe apps.
It utilises full-text search capabilities (MariaDB Match) along with Fuzzy Search to provide fast and relevant search results.
The core search functionality is inspired from Frappe's built in search but rebuilds the JS side logic in Python for quick use with any app just by calling the search endpoint and also allows per app basis allowed DocTypes list change.
### Features
- Fast, full-text search across multiple DocTypes
- Seamless integration with Frappe's permission system
- Easy setup and usage
- Match terms highlighting in results
- Supports pagination and result limits
- Uses Redis for caching search results
### Getting Started
- Install the app in your Frappe site:
```bash
bench get-app https://github.com/rtCamp/frappe-search
bench --site your-site install-app frappe_search
```
- Call the search endpoint:
```
frappe_search.api.search.get_global_search_results
```
- Parameters:
- `text` (str): The text to search for.
- `doctype` (str, optional): Doctype to search within.
- `limit` (int, optional): Maximum number of results to return. Default is 20.
- `start` (int, optional): The starting index for pagination. Default is 0.
- `allowed_doctypes` (list, optional): List of doctypes to search within.
- Get the search results in an array of dictionaries format alongside a boolean indicating if further results are possible.
### Demo response
### Demo response
```Python
[
[
{
"name": "k5sm76en7o",
"doctype": "ToDo",
"content": "Name: k5sm76en7o
Allocated To : rtCamp.goodwork@rtcamp.com
Description : Some description here.", "rank": 1, "score": 350, "marked_string": "...
Allocated To : rtCamp.goodwork@rtcamp.com
...", "full_marked_string": "Name: k5sm76en7o
Status : Open
Allocated To : aryan.kaushik@rtcamp.com
Description : Some description here.:", "title": "Good Work. Good People", } ], true ] ```
Allocated To : rtCamp.goodwork@rtcamp.com
Description : Some description here.", "rank": 1, "score": 350, "marked_string": "...
Allocated To : rtCamp.goodwork@rtcamp.com
...", "full_marked_string": "Name: k5sm76en7o
Status : Open
Allocated To : aryan.kaushik@rtcamp.com
Description : Some description here.:", "title": "Good Work. Good People", } ], true ] ```
Related Manufacturing apps for Frappe & ERPNext
- Frappe Manager — The production platform for Frappe/ERPNext. Automatic TLS, versioned migrations, worker orchestration, isolated benches. Everything from a single CLI.
- Process Manufacturing — PROCESS MANUFACTURING
- Textile — Textile App for ERPNext
- Aumms — AuMMS ( Aurum Manufacturing Management System ) is a Frappe App to facilitate the Operations in Gold Manufacturing
- Next Pms —
- Frappe Gmail Thread — Gmail thread tracking app
- Erpnext Mrp — MRP Tools for ERPNext
- Frappe Deployer — A powerful CLI tool for managing and deploying Frappe applications with support for both host and Frappe Manager (FM) modes. Create timestamped releases, manage backups, and deploy with confidence.