Skip to main content
Taxonomy Enrich stage showing document classification with hierarchical taxonomies
The Taxonomy Enrich stage classifies documents against predefined taxonomies, adding structured category labels and hierarchical classifications to your search results.
Stage Category: ENRICH (Enriches documents with classifications)Transformation: N documents → N documents (with taxonomy labels added)

When to Use

When NOT to Use

Parameters

Configuration Examples

Output Schema

Basic Classification

With Ancestors

Low Confidence (No Match)

Taxonomy Structure

Taxonomies are hierarchical classification systems:
Each node has:
  • ID: Dot-notation path (e.g., electronics.mobile.smartphones)
  • Name: Human-readable label
  • Level: Depth in hierarchy (1 = root)

Performance

Pre-compute taxonomy embeddings for faster classification. Use top_k: 1 and higher min_score when you only need the best match.

Common Pipeline Patterns

Search + Classify + Filter

Multi-Taxonomy Classification

Faceted Search Results

Error Handling