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

# text(_:)

## Declaration

```swift
static func text(_ s: String) -> SearchPipelineData
```

## See Also

### 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)
- [count(_:)](corespotlight/searchpipelinedata/count(_:).md)
- [statistic(name:value:)](corespotlight/searchpipelinedata/statistic(name:value:).md)
- [table(_:)](corespotlight/searchpipelinedata/table(_:).md)
