Contents

SKIndexGetMaximumTermID(_:)

Gets the highest-numbered term ID in an index.

Declaration

func SKIndexGetMaximumTermID(_ inIndex: SKIndex!) -> CFIndex

Parameters

  • inIndex:

    An index.

Return Value

A CFIndex object containing the highest-numbered term ID in an index.

Discussion

A new Search Kit index does not have term IDs until it is flushed.

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