CBLQueryFullTextFunction

@interface CBLQueryFullTextFunction : NSObject

Full-text function.

  • Creates a full-text rank() function with the given full-text index expression.

    The rank function indicates how well the current query result matches the full-text query when performing the match comparison.

    Declaration

    Objective-C

    + (nonnull CBLQueryExpression *)rankWithIndex:
        (nonnull id<CBLQueryIndexExpressionProtocol>)index;

    Return Value

    The full-text rank function.

  • Creates a full-text match() function with the given full-text index expression and the query text

    Declaration

    Objective-C

    + (nonnull CBLQueryExpression *)
        matchWithIndex:(nonnull id<CBLQueryIndexExpressionProtocol>)index
                 query:(nonnull NSString *)query;

    Return Value

    The full-text match() function expression.

  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;