View Ranking
    • PDF

    View Ranking

    • PDF

    Article summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    Look up one Ranking of the corresponding Domain.

    GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/ranking/{rankingName}
    

    Request

    Request parameter

    Parameter NameRequiredTypeRestrictionsDescription
    nameYesstringThe name of the created domain
    rankingNameYesstringThe name of the created ranking

    Response

    Field NameTypeDescriptionRemarks
    namestringRanking Name
    codestringRanking formula

    Response Status

    Http StatusDesc
    200OK
    400Bad Request
    401Unauthorized
    401there is no such service
    403Forbidden
    404Not Found
    500Internal Server Error

    Example

    Example Request

    GET /CloudSearch/real/v1/domain/search_test/ranking/clous
    
    Host: cloudsearch.apigw.ntruss.com
    haveContainer: false
    haveUsage: false
    accept: application/json
    x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
    x-ncp-apigw-signature-v2: nn6HxvbYlXzuDBLYG8qNdz4Z7Y6qs+l5EX8BmGwI/EI=
    x-ncp-apigw-timestamp: 1551436817715
    

    Example response

    {
      "name": "clous",
      "code": "_ratio=0.5;\n_quality=1.0;\n_similarity=qds;\n_relevance = _similarity * _ratio + _quality * (1 - _ratio); \n\n"
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.