Advanced search requires a Pro or Business plan license.
Before you begin
You’ll need:- An OpenSearch 2.x instance (self-hosted or managed service like AWS OpenSearch).
- Redis 6.2 or later (for batch processing).
- Celery workers running for background index updates.
What you get with advanced search
Once configured, advanced search provides:- Full-text search across work items, projects, cycles, modules, pages, and more
- Fuzzy matching that tolerates typos and variations in spelling
- Autocomplete with instant suggestions as you type
- Multi-entity search that searches across all content types in a single query
Configure OpenSearch
Set environment variables in your Plane configuration. See Environment variables reference for details.For Docker deployments
-
Add configuration to your environment file
Edit
/opt/plane/plane.env. -
Restart Plane services
or if managing containers directly:
-
Create search indices
Access the API container and create the necessary indices:
-
Index your existing data
Index all existing content into OpenSearch:
The background option processes indexing through Celery workers, which is better for instances with large amounts of data.
For Kubernetes deployments
The Plane Helm chart provides auto-setup for OpenSearch. If you’re using your own OpenSearch instance, configure it through Helm values.-
Configure Helm values
Get the current values file:
Edit
values.yamlto add OpenSearch configuration:Refer to the Plane Helm chart documentation for complete values structure. -
Upgrade your deployment
-
Create search indices
Run these commands in the API pod.
-
Index your existing data
Run these commands in the API pod.
Verify the setup
Check OpenSearch connection
Test that Plane can connect to your OpenSearch instance:Verify indices were created
List all created indices:Test search functionality
- Sign in to your Plane instance.
- Press Cmd/Ctrl + K to open global search.
- Type a search query and verify results appear.
- Test search within projects, work items, and pages.
Maintenance
Resync data
If search results become stale or inconsistent, resync your data:Complete rebuild
For a complete reset (recreates indices and reindexes all data):Monitor logs
Check API logs OpenSearch-related errors: Docker:Understanding how it works
Advanced search in Plane maintains search indices separately from your main database. This separation is why search can be fast even with thousands of work items - OpenSearch is purpose-built for search operations, while your database handles transactional operations.Why Plane uses OpenSearch
Traditional database searches struggle with fuzzy matching and typos. If you search for “authentcation” (with a typo), a database won’t find “authentication”. OpenSearch handles this naturally because it analyzes text differently - it breaks words into tokens, normalizes variations, and understands linguistic patterns. This is why autocomplete feels instant. OpenSearch pre-processes text to match partial words, while your database would need to scan entire tables to achieve similar results.The synchronization challenge
The trade-off with separate search indices is keeping them synchronized with your database. When someone updates a work item, that change must reach OpenSearch for search results to remain accurate. Plane solves this through an event-driven architecture. Every time data changes in your database, Django emits a signal. These signals trigger updates to OpenSearch.Batching for efficiency
Direct, immediate updates would overwhelm both your database and OpenSearch. Imagine a user creating 50 work items in quick succession, that would mean 50 separate API calls to OpenSearch, each with network overhead. Instead, Plane batches updates through Redis. When a signal fires, the update goes into a Redis queue. A Celery worker processes this queue every 5 seconds, combining multiple updates into efficient batch operations. This is why you might notice a brief delay (up to 5 seconds) before new content appears in search results. The batching pattern also provides resilience. If OpenSearch is temporarily unavailable, updates accumulate in Redis and process once connectivity returns. This requires Redis 6.2+ which supports the LPOP count operation needed for efficient batch retrieval.The complete flow

Index organization
Plane creates nine separate indices in OpenSearch, one for each searchable entity type. This separation might seem redundant - why not put everything in one index? The answer lies in how different entities need different search behaviors. Work items use fuzzy matching and field prioritization (title matches rank higher than description matches). Projects emphasize metadata filtering—status, member counts, and timelines. Pages analyze long-form content structure. Each index is optimized for its content type:| Index | Content | Search Features |
|---|---|---|
{prefix}_issues | Work items | Full-text search, field weighting (title > description), state filtering |
{prefix}_issue_comments | Comments | Comment search within work items, parent-child relationships |
{prefix}_projects | Projects | Project discovery, metadata filtering (dates, counts, status) |
{prefix}_cycles | Cycles | Cycle search, time-based filtering and aggregations |
{prefix}_modules | Modules | Module/sprint search, planning aggregations |
{prefix}_pages | Pages | Page content search, rich text analysis for long-form content |
{prefix}_workspaces | Workspaces | Workspace search and discovery |
{prefix}_issue_views | Saved views | Saved view search and filtering |
{prefix}_teamspaces | Teamspaces | Teamspace discovery |
{prefix} is whatever you configured in OPENSEARCH_INDEX_PREFIX, or empty if you didn’t set a prefix. This prefix exists because you might run multiple Plane instances pointing to the same OpenSearch cluster. The prefix prevents different instances from accidentally sharing or conflicting with each other’s indices.
