rank

expect fun rank(index: IndexExpression): Expression(source)

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.

Return

The full-text rank function.

Parameters

index

The full-text index expression.


expect fun rank(indexName: String): Expression(source)

Deprecated

Use FullTextFunction.rank(IndexExpression)

Replace with

FullTextFunction.rank(Expression.fullTextIndex(indexName))

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.

Return

The full-text rank function.

Parameters

indexName

The index name.

actual fun rank(index: IndexExpression): Expression(source)

actual fun rank(indexName: String): Expression(source)

Deprecated

Use FullTextFunction.rank(IndexExpression)

Replace with

FullTextFunction.rank(Expression.fullTextIndex(indexName))
actual fun rank(index: IndexExpression): Expression(source)

actual fun rank(indexName: String): Expression(source)

Deprecated

Use FullTextFunction.rank(IndexExpression)

Replace with

FullTextFunction.rank(Expression.fullTextIndex(indexName))