Interface: ParentGrouping
Collapse sibling documents that share a parent id into one result per unit, assembled inorder_field order (numeric-aware). Passed to
GetDocumentsOptions.group_by and
QueryOptions.group_by. See
Exact / Graph Retrieval. (moss 1.6.0+)
Constructor
- ParentGrouping(parent_field: str, order_field: str)
Properties
- parent_field:
str- Metadata field whose value identifies the parent unit (e.g."article_id"). - order_field:
str- Metadata field used to order siblings before collapsing (numeric-aware, e.g."chunk_index").