---
title: rankingHint
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/rankinghint
---

# rankingHint

A number that indicates the relative importance of the item among other items from the app.

## Declaration

```swift
var rankingHint: NSNumber? { get set }
```

## Discussion

Discussion Core Spotlight uses this value to distinguish between similar items from an app’s indexed content. Set this property to an integer value between zero and one hundred. Higher values indicate an item is more relevant, and Spotlight may display it more prominently.

## See Also

### Describing general attributes

- [alternateNames](corespotlight/cssearchableitemattributeset/alternatenames.md)
- [contentType](corespotlight/cssearchableitemattributeset/contenttype.md)
- [contentTypeTree](corespotlight/cssearchableitemattributeset/contenttypetree.md)
- [contentURL](corespotlight/cssearchableitemattributeset/contenturl.md)
- [darkThumbnailURL](corespotlight/cssearchableitemattributeset/darkthumbnailurl.md)
- [displayName](corespotlight/cssearchableitemattributeset/displayname.md)
- [keywords](corespotlight/cssearchableitemattributeset/keywords.md)
- [metadataModificationDate](corespotlight/cssearchableitemattributeset/metadatamodificationdate.md)
- [path](corespotlight/cssearchableitemattributeset/path.md)
- [relatedUniqueIdentifier](corespotlight/cssearchableitemattributeset/relateduniqueidentifier.md)
- [thumbnailData](corespotlight/cssearchableitemattributeset/thumbnaildata.md)
- [thumbnailURL](corespotlight/cssearchableitemattributeset/thumbnailurl.md)
- [title](corespotlight/cssearchableitemattributeset/title.md)
- [domainIdentifier](corespotlight/cssearchableitemattributeset/domainidentifier.md)
- [weakRelatedUniqueIdentifier](corespotlight/cssearchableitemattributeset/weakrelateduniqueidentifier.md)
