---
title: SearchPipelineDataType
framework: corespotlight
role: symbol
role_heading: Enumeration
path: corespotlight/searchpipelinedatatype
---

# SearchPipelineDataType

Declares the kind of data a pipeline stage accepts or produces.

## Declaration

```swift
enum SearchPipelineDataType
```

## Overview

Overview Use these values to describe the expected input and output shapes of a CustomStage. The pipeline runtime uses them to validate wiring between stages.

## Topics

### Getting the pipeline data type

- [SearchPipelineDataType.items](corespotlight/searchpipelinedatatype/items.md)
- [SearchPipelineDataType.scoredItems](corespotlight/searchpipelinedatatype/scoreditems.md)
- [SearchPipelineDataType.groupedItems](corespotlight/searchpipelinedatatype/groupeditems.md)
- [SearchPipelineDataType.text](corespotlight/searchpipelinedatatype/text.md)
- [SearchPipelineDataType.count](corespotlight/searchpipelinedatatype/count.md)
- [SearchPipelineDataType.statistic](corespotlight/searchpipelinedatatype/statistic.md)
- [SearchPipelineDataType.table](corespotlight/searchpipelinedatatype/table.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Tool customization

- [CustomStage](corespotlight/customstage.md)
- [SearchPipelineData](corespotlight/searchpipelinedata.md)
- [ScoredSearchableItem](corespotlight/scoredsearchableitem.md)
