sources
The data sources and options to use during a search.
Declaration
var sources: [SearchSource]Discussion
Use this property to specify where you want SpotlightSearchTool to look for your app’s data. Fill this property with CoreSpotlightSource or FileSource types. If you specify multiple search sources, the tool searches all of them and delivers the merged results to the model. Each source object also has options about how much data to retrieve from the source, which you can use to control how much data you send to the model.
If you don’t specify a value for this property, the search tool uses a default CoreSpotlightSource to search your app’s Spotlight index.