Contents

enableRankedResults

A Boolean value that indicates whether the query sorts results by their relevance.

Declaration

var enableRankedResults: Bool { get set }

Discussion

The default value of this property is true. Setting the property to false causes Spotlight to return results as it finds them instead of ordering them by their relevance or saliency to the search term.

See Also

Configuring the ranked results behavior