---
title: "execute(groupedItems:)"
framework: corespotlight
role: symbol
role_heading: Instance Method
path: "corespotlight/customstage/execute(groupeditems:)"
---

# execute(groupedItems:)

## Declaration

```swift
nonisolated(nonsending) func execute(groupedItems: [SearchableItemAttribute : [CSSearchableItem]]) async throws -> SearchPipelineData
```

## See Also

### Performing the stage behavior

- [execute(items:)](corespotlight/customstage/execute(items:).md)
- [execute(scoredItems:)](corespotlight/customstage/execute(scoreditems:).md)
- [execute(text:)](corespotlight/customstage/execute(text:).md)
- [execute(count:)](corespotlight/customstage/execute(count:).md)
- [execute(statisticName:value:)](corespotlight/customstage/execute(statisticname:value:).md)
- [execute(table:)](corespotlight/customstage/execute(table:).md)
