# Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::SearchRequest::RankingExpressionBackend (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API module Google::Cloud::DiscoveryEngine::V1::SearchRequest::RankingExpressionBackend.

The backend to use for the ranking expression evaluation.

## Constants

### RANKING_EXPRESSION_BACKEND_UNSPECIFIED

**value:** 0  
Default option for unspecified/unknown values.

### 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.

### CLEARBOX

**value:** 2  
Deprecated: Use `RANK_BY_FORMULA` instead.
Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should
be used instead.

### RANK_BY_EMBEDDING

**value:** 3  
Ranking by custom embedding model, the default way to evaluate the
ranking expression.

### RANK_BY_FORMULA

**value:** 4  
Ranking by custom formula.