CBLQueryFullTextFunction

@interface CBLQueryFullTextFunction : NSObject

Full-text function.

  • Creates a full-text rank function with the given full-text index name. 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 *)rank:(nonnull NSString *)indexName;

    Parameters

    indexName

    The full-text index name.

    Return Value

    The full-text rank function.

  • Creates a full-text match expression with the given full-text index name and the query text

    Declaration

    Objective-C

    + (nonnull CBLQueryExpression *)matchWithIndexName:(nonnull NSString *)indexName
                                                 query:(nonnull NSString *)query;

    Parameters

    indexName

    The full-text index name.

    query

    The query string.

    Return Value

    The full-text match expression.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;