FullTextFunction

public final class FullTextFunction

Full-text function factory.

  • 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

    Swift

    public static func rank(_ indexName: String) -> ExpressionProtocol

    Parameters

    indexName

    The index name.

    Return Value

    The full-text rank function.