AACsearch
Dashboard & Operations

Indexverwaltung

Überwachung der Indexintegrität, Auslösen von Neuindizierungen, Verwalten von Delta-Synchronisierungen und Anzeigen von Synchronisationsinformationen.

The Index Management page at /[orgSlug]/search/[indexSlug]/indexing provides tools for monitoring and maintaining your search index. It covers index health metrics, reindex operations, delta synchronization, and sync history.

Such-Workspace-Startseite mit hervorgehobenem Aufruf zur Indexerstellung

Index status cards

The top section shows four summary cards with real-time metrics for the selected index:

CardData source
DocumentsTotal document count in the collection
Searches todaySearch requests served today
SizeStorage size in MB/GB (if available)
Avg. latencyMean search response time in milliseconds

A badge next to the index name indicates whether the collection is Live (serving traffic).

Health chart

A 7-day bar chart compares:

  • Documents — total document count (static across the period)
  • Searches — daily search request volume

This gives a quick visual sense of whether search usage is growing or declining.

Last sync info

Shows when the last full sync completed. This is derived from the most recent sync_job activity event for the index. A timestamp of "never" indicates no sync has been recorded yet.


Full reindex

The Full Reindex panel lets you rebuild an index with zero downtime. It creates a new versioned search index ({orgShortId}_{slug}_v{n+1}), populates it from the current data source, verifies it, and atomically swaps the alias so the new version starts serving traffic immediately.

When to reindex

  • After changing the collection schema (e.g. adding a new searchable field)
  • After modifying stopword lists
  • After a major data migration or bulk document update
  • To recover from a corrupted or inconsistent collection state

Advanced options

Click Show advanced to configure additional reindex behavior:

OptionDescription
Detect schemaRe-detect the collection schema from the current data
Regenerate embeddingsRecompute AI embeddings for all documents

Progress tracking

After triggering a reindex, the panel shows real-time progress:

  • Status — pending, running, completed, or failed
  • Progress bar — percentage of the job completed
  • Cancel — abort a running reindex if needed

The reindex job ID is tracked and polled every 3 seconds until completion.


Delta sync

The Delta Sync panel synchronizes only the changes since the last sync operation, rather than rebuilding the entire index. This is faster and more efficient for incremental updates.

When to use delta sync

  • After the CMS connector has pushed new or updated documents
  • To process pending items in the SearchIngestBuffer table
  • For regular, scheduled synchronization (e.g., hourly)

Results

After a delta sync completes, the panel shows:

MetricDescription
ProcessedTotal items processed
UpsertedDocuments created or updated
DeletedDocuments removed
RemainingItems still pending in the buffer

Delta sync vs. full reindex

AspectDelta syncFull reindex
ScopeChanged documents onlyAll documents
SpeedFast (seconds to minutes)Slow (minutes to hours)
DowntimeNone (no alias swap)Zero-downtime (alias swap)
Schema changesNot affectedRebuilt with new schema
Use caseDaily incremental updatesSchema changes, major migrations

Reindex history

The page maintains a record of past reindex operations. Each entry shows:

ColumnDescription
Job IDUnique identifier for the job
Statuspending / running / completed / failed
Started atWhen the job was initiated
Completed atWhen the job finished (if done)
Error messageError details (if failed)

API reference

Index management operations are available as oRPC procedures in packages/api/modules/indexing/:

ProcedureDescription
indexing.reindexStart a full reindex
indexing.deltaSyncRun incremental delta sync
indexing.cancelReindexCancel a running reindex
indexing.reindexStatusPoll reindex job status
indexing.reindexHistoryList past reindex jobs
indexing.healthStatsGet index health statistics
indexing.schedule.listList scheduled reindex tasks
indexing.schedule.createCreate a scheduled reindex

On this page