All Products
Search
Document Center

OpenSearch:DeployedAlgorithm

Last Updated:Oct 21, 2022

Description

The information about an algorithm that is deployed in an OpenSearch application.

Example

{
    "id": "281",
    "appGroupName": "tongtianhe_apitest",
    "scene": "SECOND_RANK",
    "desc": "",
    "models": [{
        "modelName": "popV2",
        "modelId": 363,
        "progress": 100,
        "status": "IN_SERVICE",
        "projectId": 1747,
        "algorithmType": "POP"
    }],
    "gmtCreate": "2020-02-07T10:59:12+0000",
    "gmtModified": "2020-02-07T11:15:02+0000",
    "status": "IN_SERVICE",
    "apps": [
        "100298098"
    ]
}

Structure

Field

Type

Description

id

Integer

The ID of the deployed algorithm.

appGroupName

String

The name of the application.

scene

String

The scenario where the algorithm is deployed. Valid values:- FIRST_RANK: rough sort- SECOND_RANK: fine sort

desc

String

The description of the algorithm.

models[]

Object

The deployed algorithm models. For more information, see DeployedAlgorithmModel.

status

String

The deployment status. Valid values:- UNKNOWN: The deployment status is unknown.- PREDICTING: The model prediction is in progress.- PENDING: The algorithm is waiting to be deployed.- REINDEX_PENDING: The algorithm waits for reindexing.- REINDEXING: The indexes are being rebuilt and the rough sort expression is being created.- DEPLOYING: The algorithm is being deployed and the fine sort expression is being created.- IN_SERVICE: The algorithm takes effect.- OFFLINE: The algorithm is offline.- TARGET_MISSING: The algorithm to be deployed does not exist.

apps

Array

The version for which the algorithm is deployed.

gmtCreate

String

The time when the algorithm was deployed.

gmtModified

String

The time when the algorithm was last updated.