A search interface pattern that allows users to refine results by selecting values from categorized attributes (facets). Faceted search combines the precision of structured filtering with the flexibility of full-text or semantic search in multimodal retrieval systems.
Faceted search augments search results with aggregated counts of attribute values, enabling users to progressively narrow results by selecting filters. When a user selects a facet value (e.g., 'modality: video'), the system applies that filter and recalculates counts for remaining facets. This iterative refinement helps users navigate large multimodal collections without knowing exact search terms.
Facets are computed by aggregating indexed fields across the result set. Elasticsearch and Solr provide built-in facet aggregation. For vector databases, faceted search combines vector similarity with payload filtering. Common facet types include terms (categorical values), ranges (numeric intervals), and hierarchical (nested categories). Efficient facet computation requires proper field indexing and may use approximate counts for large datasets.