Stage Category: REDUCE (Merges intervals into moments)Transformation: N frame/chunk documents → M consolidated moments per parent video
When to Use
When NOT to Use
Requirements
- Input documents must have temporal intervals — either
query_chunkswithstart_ms/end_ms(attached byfeature_searchpreprocessing) or document-level time fields. - The
parent_fieldmust exist on the documents so results can be grouped by source video/object.
Parameters
Configuration Examples
Output Schema
Annotated Mode (default)
Inannotated mode, the best-scoring document per parent is preserved with a moments array attached:
Moments-Only Mode
Inmoments_only mode, standalone moment documents are emitted:
Moment Object Fields
Performance
Common Pipeline Patterns
Video Search with Moment Localization
The canonical use case: search across video frames, then consolidate matches into seekable moments.Moment Extraction with Reranking
Search, rerank for precision, then group into moments:Error Handling
Related
- Temporal - Time-window aggregations with drift detection
- Group By - Group documents by any field value
- Aggregate - Statistical aggregations
- Deduplicate - Remove duplicate documents

