FullTextFunction
public final class FullTextFunction
Full-text function factory.
-
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
Swift
public static func rank(_ index: IndexExpressionProtocol) -> ExpressionProtocolParameters
indexThe full-text index expression.
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
Swift
public static func match(_ index: IndexExpressionProtocol, query: String) -> ExpressionProtocolParameters
indexNameTThe full-text index expression.
queryThe query string.
Return Value
The full-text match() function expression.
FullTextFunction Class Reference