CBLIndexBuilder

Undocumented

  • Create a value index with the given index items. The index items are a list of the properties or expressions to be indexed.

    Declaration

    Objective-C

    + (nonnull CBLValueIndex *)valueIndexWithItems:
        (nonnull NSArray<CBLValueIndexItem *> *)items;

    Parameters

    items

    The index items.

    Return Value

    The value index.

  • Create a full-text search index with the given index item and options. Typically the index item is the property that is used to perform the match operation against with. Setting the nil options means using the default options.

    Declaration

    Objective-C

    + (nonnull CBLFullTextIndex *)fullTextIndexWithItems:
        (nonnull NSArray<CBLFullTextIndexItem *> *)items;

    Parameters

    items

    The index items.

    Return Value

    The full-text search index.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;