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

# execute(scoredItems:)

## Declaration

```swift
nonisolated(nonsending) func execute(scoredItems: [ScoredSearchableItem]) async throws -> SearchPipelineData
```

## See Also

### Performing the stage behavior

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