rank static method

ExpressionInterface rank(
  1. String indexName
)

Creates an expression which evaluates to the rank of a result when matching against the full-text index with given indexName.

The rank indicates how well a result matches the full-text query.

Implementation

static ExpressionInterface rank(String indexName) =>
    UnaryExpression('rank()', Expression.string(indexName));