Class

NSCoreDataCoreSpotlightDelegate

A delegate that supports Core Spotlight integration.

Declaration

@interface NSCoreDataCoreSpotlightDelegate : NSObject

Topics

Creating a Delegate

- initForStoreWithDescription:model:

Initializes a spotlight delegate with the specified description and managed object model.

Searching

- domainIdentifier

Identifies the Core Spotlight domain.

- indexName

Provides a name for the Core Spotlight index.

- attributeSetForObject:

Creates and returns the searchable attributes for the referenced managed object.

Reindexing

- searchableIndex:reindexAllSearchableItemsWithAcknowledgementHandler:

Requests that the delegate reindex all of its searchable data and clear any local state.

- searchableIndex:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:

Requests that the delegate reindex the searchable data using the provided identifiers.

Relationships

Inherits From

See Also

Working with Spotlight

+ elementsDerivedFromExternalRecordURL:

Returns a dictionary containing the parsed elements derived from the Spotlight external record file that is specified by the given URL.

- importStoreWithIdentifier:fromExternalRecordsDirectory:toURL:options:withType:error:

Creates and populates a store with the external records found at a given URL.

Spotlight External Record Elements

Specify values for the parsed elements derived from the Spotlight external record file.