# Google Cloud Discovery Engine V1 Client - Class RankingExpressionBackend (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RankingExpressionBackend.

The backend to use for the ranking expression evaluation.

Protobuf type `google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1 \\ SearchRequest

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### RANKING_EXPRESSION_BACKEND_UNSPECIFIED

    Value: 0

Default option for unspecified/unknown values.

Generated from protobuf enum `RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0;`

### BYOE

    Value: 1

Deprecated: Use `RANK_BY_EMBEDDING` instead.

Ranking by custom embedding model, the default way to evaluate the
ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be
used instead.

Generated from protobuf enum `BYOE = 1 [deprecated = true];`

### CLEARBOX

    Value: 2

Deprecated: Use `RANK_BY_FORMULA` instead.

Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should
be used instead.

Generated from protobuf enum `CLEARBOX = 2 [deprecated = true];`

### RANK_BY_EMBEDDING

    Value: 3

Ranking by custom embedding model, the default way to evaluate the
ranking expression.

Generated from protobuf enum `RANK_BY_EMBEDDING = 3;`

### RANK_BY_FORMULA

    Value: 4

Ranking by custom formula.

Generated from protobuf enum `RANK_BY_FORMULA = 4;`