---
title: SearchPipelineData
framework: corespotlight
role: symbol
role_heading: Structure
path: corespotlight/searchpipelinedata
---

# SearchPipelineData

The value that flows between pipeline stages, carrying a typed payload.

## Declaration

```swift
struct SearchPipelineData
```

## Topics

### Configuring the pipeline data

- [init(payload:)](corespotlight/searchpipelinedata/init(payload:).md)
- [items(_:)](corespotlight/searchpipelinedata/items(_:).md)
- [scoredItems(_:)](corespotlight/searchpipelinedata/scoreditems(_:).md)
- [groupedItems(_:)](corespotlight/searchpipelinedata/groupeditems(_:).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)

### Getting the pipeline data

- [payload](corespotlight/searchpipelinedata/payload-swift.property.md)
- [SearchPipelineData.Payload](corespotlight/searchpipelinedata/payload-swift.enum.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Tool customization

- [CustomStage](corespotlight/customstage.md)
- [SearchPipelineDataType](corespotlight/searchpipelinedatatype.md)
- [ScoredSearchableItem](corespotlight/scoredsearchableitem.md)
