---
title: "groupedItems(_:)"
framework: corespotlight
role: symbol
role_heading: Type Method
path: "corespotlight/searchpipelinedata/groupeditems(_:)"
---

# groupedItems(_:)

## Declaration

```swift
static func groupedItems(_ groups: [SearchableItemAttribute : [CSSearchableItem]]) -> SearchPipelineData
```

## See Also

### Configuring the pipeline data

- [init(payload:)](corespotlight/searchpipelinedata/init(payload:).md)
- [items(_:)](corespotlight/searchpipelinedata/items(_:).md)
- [scoredItems(_:)](corespotlight/searchpipelinedata/scoreditems(_:).md)
- [text(_:)](corespotlight/searchpipelinedata/text(_:).md)
- [count(_:)](corespotlight/searchpipelinedata/count(_:).md)
- [statistic(name:value:)](corespotlight/searchpipelinedata/statistic(name:value:).md)
- [table(_:)](corespotlight/searchpipelinedata/table(_:).md)
