Knowledge Management
The Knowledge page is your central hub for managing data sources, collections, and sync activities. Connect your organization's data and keep it indexed and up-to-date.
Overview
Knowledge management in ZenSearch involves:
- Data Sources: Connections to external platforms
- Collections: Logical groupings of documents
- Sync Jobs: Background processes that update content
- Documents: Individual pieces of indexed content
Knowledge Page
Access the Knowledge page from the left sidebar. It contains three tabs:
Data Sources Tab
View and manage all connected data sources:
- Source Cards: Visual representation of each connector
- Status Indicators: Active, Paused, Error, Inactive
- Sync Controls: Manual sync triggers
- Options Menu: Edit, sync, delete
Collections Tab
Organize your content into collections:
- Collection Cards: Name, description, document count
- Embedding Model: Which model indexes the collection
- Statistics: Document and connector counts
- Management: Create, edit, delete collections
Activity Tab
Monitor sync jobs and processing:
- Job List: All sync jobs with status
- Progress Bars: Real-time processing progress
- Actions: Cancel running jobs, retry failed ones
- Details: Click to see processing breakdown
Data Sources
Adding a Data Source
- Click Add Data Source
- Select connector type from the wizard
- Configure authentication and settings
- Test the connection
- Create the connector
Connector Configuration
Each connector has specific settings:
Common Settings
| Setting | Description |
|---|---|
| Name | Display name for the connector |
| Collection | Which collection to add documents to |
| Enabled | Whether sync is active |
Authentication Options
Depending on the connector type:
- OAuth: Click to authorize (Google, Notion, Slack, etc.)
- API Key: Enter your API token
- Basic Auth: Username and password
- IAM Role: AWS IAM role ARN
Managing Sources
Sync Now
Trigger an immediate sync:
- Click the Options menu (three dots)
- Select Sync Now
- View progress in Activity tab
Edit Settings
- Click the source card or Edit from menu
- Modify configuration
- Test connection
- Save changes
Pause/Resume
- Open source settings
- Toggle the Enabled switch
- Paused sources won't sync
Delete Source
- Click Delete from options menu
- Confirm deletion
- Documents may remain in collections
Source Status
| Status | Description |
|---|---|
| Active | Connected and syncing normally |
| Syncing | Currently running a sync job |
| Paused | Sync disabled by user |
| Error | Connection or sync failure |
| Inactive | Never synced or no content |
Webhook Indicators
Sources with webhook support show:
- Real-time badge: Webhooks enabled
- Last activity: Most recent webhook event
- Activity log: View webhook history
Collections
Creating a Collection
- Go to Collections tab
- Click Create Collection
- Fill in details:
| Field | Description |
|---|---|
| Name | Unique collection name |
| Description | What this collection contains |
| Embedding Model | Model for generating vectors |
- Click Create
Collection Settings
Edit collections to modify:
- Name and description
- Default embedding model
- Associated connectors
Collection Statistics
Each collection shows:
- Document Count: Total indexed documents
- Embedding Count: Vector representations
- Connector Count: Data sources feeding this collection
- Last Updated: Most recent sync
Deleting Collections
Deleting a collection removes all documents and embeddings. This action cannot be undone.
- Click Delete on the collection card
- Review the impact warning
- Confirm deletion
Sync Activity
Understanding Jobs
Sync jobs process content through multiple stages:
Collecting → Parsing → Analyzing → Projecting → Vectorizing → Done
Stage Descriptions
| Stage | Description |
|---|---|
| Collecting | Fetching files from source |
| Parsing | Extracting text and metadata |
| Analyzing | Building document structure |
| Projecting | Creating semantic units |
| Vectorizing | Generating embeddings |
Job Status
| Status | Description |
|---|---|
| Queued | Waiting to start |
| Running | Currently processing |
| Completed | Finished successfully |
| Failed | Error during processing |
| Cancelled | Stopped by user |
Viewing Job Details
Click any job row to see:
- Full job information
- Document breakdown by stage
- Error messages and counts
- Processing timestamps
Cancelling Jobs
For running jobs:
- Click the Cancel button
- Job will stop at current stage
- Partial results may be available
Retrying Failed Jobs
For failed jobs:
- Click the Retry button
- New job starts from beginning
- Check error messages first
Document Management
Viewing Documents
From a data source detail page:
- Click Documents tab
- Browse indexed documents
- See processing status
- Search within source
Document Status
| Status | Description |
|---|---|
| Indexed | Successfully processed and searchable |
| Pending | Waiting for processing |
| Processing | Currently being indexed |
| Failed | Error during indexing |
| Deleted | Removed from source |
Viewing Files
The Files tab shows raw files:
- Original file names
- File sizes
- Collection dates
- Delete options
Source Detail Page
Click any data source to see its detail page with:
Files Tab
Raw files from the source:
- File listing with metadata
- Size and collection date
- Search and filter
- Bulk delete
Documents Tab
Processed documents:
- Document titles
- Processing status
- View full content
- Delete individual documents
Jobs Tab
Sync history for this source:
- All sync jobs
- Status and timing
- Error details
Settings Tab
Full connector configuration:
- Edit all settings
- Change collection
- Re-authenticate
- Delete source
Webhooks Tab
For webhook-enabled sources:
- Event history
- Activity timestamps
- Event types
Best Practices
Organizing Collections
- By Department: Engineering, Sales, HR
- By Project: Project Alpha, Q4 Initiative
- By Type: Documentation, Communications, Data
Sync Scheduling
- High-change sources: Enable webhooks
- Stable content: Daily or weekly syncs
- Large sources: Off-peak scheduling
Managing Growth
- Monitor document counts
- Archive old collections
- Remove unused connectors
- Clean up failed documents
Troubleshooting
Sync Failures
- Check error messages in job details
- Verify credentials are valid
- Ensure source is accessible
- Check permission settings
Missing Documents
- Verify source contains content
- Check filter settings
- Wait for sync completion
- Review collection assignment
Slow Syncs
- Large sources take longer
- Check for processing bottlenecks
- Consider filtering content
- Break into smaller collections
Next Steps
- Connectors Overview - Detailed connector guides
- Search - Search your indexed content
- API - Connector API reference