SKIndexGetAnalysisProperties(_:)
Gets the text analysis properties of an index.
Declaration
func SKIndexGetAnalysisProperties(_ inIndex: SKIndex!) -> Unmanaged<CFDictionary>!Parameters
- inIndex:
The index whose text-analysis properties you want to get.
Return Value
A CFDictionary object containing the index’s text-analysis properties. On failure, returns NULL.
Discussion
The text analysis properties of an index determine how searches behave when querying the index. You set the analysis properties when creating an index with the SKIndexCreateWithURL(_:_:_:_:) or SKIndexCreateWithMutableData(_:_:_:_:) functions. For more information on text-analysis properties, see Text Analysis Keys.
Search Kit is thread-safe. You can use separate indexing and searching threads. Your application is responsible for ensuring that no more than one process is open at a time for writing to an index.
See Also
Managing Indexes
SKIndexAddDocumentWithText(_:_:_:_:)SKIndexAddDocument(_:_:_:_:)SKIndexFlush(_:)SKIndexCompact(_:)SKIndexGetDocumentCount(_:)SKIndexGetMaximumDocumentID(_:)SKIndexGetMaximumTermID(_:)SKIndexDocumentIteratorCreate(_:_:)SKIndexDocumentIteratorCopyNext(_:)SKIndexDocumentIteratorGetTypeID()SKIndexMoveDocument(_:_:_:)SKIndexRemoveDocument(_:_:)SKIndexRenameDocument(_:_:_:)SKIndexSetMaximumBytesBeforeFlush(_:_:)SKIndexGetMaximumBytesBeforeFlush(_:)