huaweicloudsdkimagesearch 3.1.142__py2.py3-none-any.whl → 3.1.144__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkimagesearch might be problematic. Click here for more details.
- huaweicloudsdkimagesearch/v2/imagesearch_async_client.py +5 -5
- huaweicloudsdkimagesearch/v2/imagesearch_client.py +5 -5
- huaweicloudsdkimagesearch/v2/model/add_data_optional_param.py +9 -9
- huaweicloudsdkimagesearch/v2/model/add_data_param.py +19 -19
- huaweicloudsdkimagesearch/v2/model/add_data_rest_info.py +3 -3
- huaweicloudsdkimagesearch/v2/model/add_data_rest_info_image_info.py +3 -3
- huaweicloudsdkimagesearch/v2/model/add_data_rest_info_image_info_objects.py +7 -7
- huaweicloudsdkimagesearch/v2/model/check_info.py +7 -7
- huaweicloudsdkimagesearch/v2/model/check_param.py +11 -11
- huaweicloudsdkimagesearch/v2/model/check_rest_info.py +9 -9
- huaweicloudsdkimagesearch/v2/model/delete_info.py +5 -5
- huaweicloudsdkimagesearch/v2/model/delete_param.py +9 -9
- huaweicloudsdkimagesearch/v2/model/delete_rest_info.py +5 -5
- huaweicloudsdkimagesearch/v2/model/delete_rest_info_items.py +3 -3
- huaweicloudsdkimagesearch/v2/model/item_source.py +9 -9
- huaweicloudsdkimagesearch/v2/model/range_param.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_add_data_request.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_add_data_response.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_check_data_request.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_check_data_response.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_delete_data_request.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_delete_data_response.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_search_request.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_search_response.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_update_data_request.py +5 -5
- huaweicloudsdkimagesearch/v2/model/run_update_data_response.py +3 -3
- huaweicloudsdkimagesearch/v2/model/search_after_param.py +5 -5
- huaweicloudsdkimagesearch/v2/model/search_info.py +9 -9
- huaweicloudsdkimagesearch/v2/model/search_item.py +7 -7
- huaweicloudsdkimagesearch/v2/model/search_optional_param.py +17 -17
- huaweicloudsdkimagesearch/v2/model/search_param.py +25 -25
- huaweicloudsdkimagesearch/v2/model/search_rest_info.py +7 -7
- huaweicloudsdkimagesearch/v2/model/search_rest_info_image_info.py +9 -9
- huaweicloudsdkimagesearch/v2/model/update_param.py +9 -9
- {huaweicloudsdkimagesearch-3.1.142.dist-info → huaweicloudsdkimagesearch-3.1.144.dist-info}/METADATA +2 -2
- huaweicloudsdkimagesearch-3.1.144.dist-info/RECORD +44 -0
- huaweicloudsdkimagesearch-3.1.142.dist-info/RECORD +0 -44
- {huaweicloudsdkimagesearch-3.1.142.dist-info → huaweicloudsdkimagesearch-3.1.144.dist-info}/LICENSE +0 -0
- {huaweicloudsdkimagesearch-3.1.142.dist-info → huaweicloudsdkimagesearch-3.1.144.dist-info}/WHEEL +0 -0
- {huaweicloudsdkimagesearch-3.1.142.dist-info → huaweicloudsdkimagesearch-3.1.144.dist-info}/top_level.txt +0 -0
|
@@ -27,7 +27,7 @@ class RunSearchRequest:
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
def __init__(self, service_name=None, body=None):
|
|
30
|
-
"""RunSearchRequest
|
|
30
|
+
r"""RunSearchRequest
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ class RunSearchRequest:
|
|
|
49
49
|
|
|
50
50
|
@property
|
|
51
51
|
def service_name(self):
|
|
52
|
-
"""Gets the service_name of this RunSearchRequest.
|
|
52
|
+
r"""Gets the service_name of this RunSearchRequest.
|
|
53
53
|
|
|
54
54
|
服务实例的名称,用户创建服务实例时指定。
|
|
55
55
|
|
|
@@ -60,7 +60,7 @@ class RunSearchRequest:
|
|
|
60
60
|
|
|
61
61
|
@service_name.setter
|
|
62
62
|
def service_name(self, service_name):
|
|
63
|
-
"""Sets the service_name of this RunSearchRequest.
|
|
63
|
+
r"""Sets the service_name of this RunSearchRequest.
|
|
64
64
|
|
|
65
65
|
服务实例的名称,用户创建服务实例时指定。
|
|
66
66
|
|
|
@@ -71,7 +71,7 @@ class RunSearchRequest:
|
|
|
71
71
|
|
|
72
72
|
@property
|
|
73
73
|
def body(self):
|
|
74
|
-
"""Gets the body of this RunSearchRequest.
|
|
74
|
+
r"""Gets the body of this RunSearchRequest.
|
|
75
75
|
|
|
76
76
|
:return: The body of this RunSearchRequest.
|
|
77
77
|
:rtype: :class:`huaweicloudsdkimagesearch.v2.SearchParam`
|
|
@@ -80,7 +80,7 @@ class RunSearchRequest:
|
|
|
80
80
|
|
|
81
81
|
@body.setter
|
|
82
82
|
def body(self, body):
|
|
83
|
-
"""Sets the body of this RunSearchRequest.
|
|
83
|
+
r"""Sets the body of this RunSearchRequest.
|
|
84
84
|
|
|
85
85
|
:param body: The body of this RunSearchRequest.
|
|
86
86
|
:type body: :class:`huaweicloudsdkimagesearch.v2.SearchParam`
|
|
@@ -28,7 +28,7 @@ class RunSearchResponse(SdkResponse):
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
def __init__(self, result=None, data=None):
|
|
31
|
-
"""RunSearchResponse
|
|
31
|
+
r"""RunSearchResponse
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
@@ -51,7 +51,7 @@ class RunSearchResponse(SdkResponse):
|
|
|
51
51
|
|
|
52
52
|
@property
|
|
53
53
|
def result(self):
|
|
54
|
-
"""Gets the result of this RunSearchResponse.
|
|
54
|
+
r"""Gets the result of this RunSearchResponse.
|
|
55
55
|
|
|
56
56
|
搜索完成返回success。
|
|
57
57
|
|
|
@@ -62,7 +62,7 @@ class RunSearchResponse(SdkResponse):
|
|
|
62
62
|
|
|
63
63
|
@result.setter
|
|
64
64
|
def result(self, result):
|
|
65
|
-
"""Sets the result of this RunSearchResponse.
|
|
65
|
+
r"""Sets the result of this RunSearchResponse.
|
|
66
66
|
|
|
67
67
|
搜索完成返回success。
|
|
68
68
|
|
|
@@ -73,7 +73,7 @@ class RunSearchResponse(SdkResponse):
|
|
|
73
73
|
|
|
74
74
|
@property
|
|
75
75
|
def data(self):
|
|
76
|
-
"""Gets the data of this RunSearchResponse.
|
|
76
|
+
r"""Gets the data of this RunSearchResponse.
|
|
77
77
|
|
|
78
78
|
:return: The data of this RunSearchResponse.
|
|
79
79
|
:rtype: :class:`huaweicloudsdkimagesearch.v2.SearchRestInfo`
|
|
@@ -82,7 +82,7 @@ class RunSearchResponse(SdkResponse):
|
|
|
82
82
|
|
|
83
83
|
@data.setter
|
|
84
84
|
def data(self, data):
|
|
85
|
-
"""Sets the data of this RunSearchResponse.
|
|
85
|
+
r"""Sets the data of this RunSearchResponse.
|
|
86
86
|
|
|
87
87
|
:param data: The data of this RunSearchResponse.
|
|
88
88
|
:type data: :class:`huaweicloudsdkimagesearch.v2.SearchRestInfo`
|
|
@@ -27,7 +27,7 @@ class RunUpdateDataRequest:
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
def __init__(self, service_name=None, body=None):
|
|
30
|
-
"""RunUpdateDataRequest
|
|
30
|
+
r"""RunUpdateDataRequest
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ class RunUpdateDataRequest:
|
|
|
49
49
|
|
|
50
50
|
@property
|
|
51
51
|
def service_name(self):
|
|
52
|
-
"""Gets the service_name of this RunUpdateDataRequest.
|
|
52
|
+
r"""Gets the service_name of this RunUpdateDataRequest.
|
|
53
53
|
|
|
54
54
|
服务实例的名称,用户创建服务实例时指定。
|
|
55
55
|
|
|
@@ -60,7 +60,7 @@ class RunUpdateDataRequest:
|
|
|
60
60
|
|
|
61
61
|
@service_name.setter
|
|
62
62
|
def service_name(self, service_name):
|
|
63
|
-
"""Sets the service_name of this RunUpdateDataRequest.
|
|
63
|
+
r"""Sets the service_name of this RunUpdateDataRequest.
|
|
64
64
|
|
|
65
65
|
服务实例的名称,用户创建服务实例时指定。
|
|
66
66
|
|
|
@@ -71,7 +71,7 @@ class RunUpdateDataRequest:
|
|
|
71
71
|
|
|
72
72
|
@property
|
|
73
73
|
def body(self):
|
|
74
|
-
"""Gets the body of this RunUpdateDataRequest.
|
|
74
|
+
r"""Gets the body of this RunUpdateDataRequest.
|
|
75
75
|
|
|
76
76
|
:return: The body of this RunUpdateDataRequest.
|
|
77
77
|
:rtype: :class:`huaweicloudsdkimagesearch.v2.UpdateParam`
|
|
@@ -80,7 +80,7 @@ class RunUpdateDataRequest:
|
|
|
80
80
|
|
|
81
81
|
@body.setter
|
|
82
82
|
def body(self, body):
|
|
83
|
-
"""Sets the body of this RunUpdateDataRequest.
|
|
83
|
+
r"""Sets the body of this RunUpdateDataRequest.
|
|
84
84
|
|
|
85
85
|
:param body: The body of this RunUpdateDataRequest.
|
|
86
86
|
:type body: :class:`huaweicloudsdkimagesearch.v2.UpdateParam`
|
|
@@ -26,7 +26,7 @@ class RunUpdateDataResponse(SdkResponse):
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
def __init__(self, result=None):
|
|
29
|
-
"""RunUpdateDataResponse
|
|
29
|
+
r"""RunUpdateDataResponse
|
|
30
30
|
|
|
31
31
|
The model defined in huaweicloud sdk
|
|
32
32
|
|
|
@@ -44,7 +44,7 @@ class RunUpdateDataResponse(SdkResponse):
|
|
|
44
44
|
|
|
45
45
|
@property
|
|
46
46
|
def result(self):
|
|
47
|
-
"""Gets the result of this RunUpdateDataResponse.
|
|
47
|
+
r"""Gets the result of this RunUpdateDataResponse.
|
|
48
48
|
|
|
49
49
|
更新数据完成返回success。
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@ class RunUpdateDataResponse(SdkResponse):
|
|
|
55
55
|
|
|
56
56
|
@result.setter
|
|
57
57
|
def result(self, result):
|
|
58
|
-
"""Sets the result of this RunUpdateDataResponse.
|
|
58
|
+
r"""Sets the result of this RunUpdateDataResponse.
|
|
59
59
|
|
|
60
60
|
更新数据完成返回success。
|
|
61
61
|
|
|
@@ -27,7 +27,7 @@ class SearchAfterParam:
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
def __init__(self, score=None, id=None):
|
|
30
|
-
"""SearchAfterParam
|
|
30
|
+
r"""SearchAfterParam
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
@@ -50,7 +50,7 @@ class SearchAfterParam:
|
|
|
50
50
|
|
|
51
51
|
@property
|
|
52
52
|
def score(self):
|
|
53
|
-
"""Gets the score of this SearchAfterParam.
|
|
53
|
+
r"""Gets the score of this SearchAfterParam.
|
|
54
54
|
|
|
55
55
|
结果的得分。
|
|
56
56
|
|
|
@@ -61,7 +61,7 @@ class SearchAfterParam:
|
|
|
61
61
|
|
|
62
62
|
@score.setter
|
|
63
63
|
def score(self, score):
|
|
64
|
-
"""Sets the score of this SearchAfterParam.
|
|
64
|
+
r"""Sets the score of this SearchAfterParam.
|
|
65
65
|
|
|
66
66
|
结果的得分。
|
|
67
67
|
|
|
@@ -72,7 +72,7 @@ class SearchAfterParam:
|
|
|
72
72
|
|
|
73
73
|
@property
|
|
74
74
|
def id(self):
|
|
75
|
-
"""Gets the id of this SearchAfterParam.
|
|
75
|
+
r"""Gets the id of this SearchAfterParam.
|
|
76
76
|
|
|
77
77
|
结果的唯一ID。
|
|
78
78
|
|
|
@@ -83,7 +83,7 @@ class SearchAfterParam:
|
|
|
83
83
|
|
|
84
84
|
@id.setter
|
|
85
85
|
def id(self, id):
|
|
86
|
-
"""Sets the id of this SearchAfterParam.
|
|
86
|
+
r"""Sets the id of this SearchAfterParam.
|
|
87
87
|
|
|
88
88
|
结果的唯一ID。
|
|
89
89
|
|
|
@@ -31,7 +31,7 @@ class SearchInfo:
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
def __init__(self, total_num=None, return_num=None, search_time=None, last_item=None):
|
|
34
|
-
"""SearchInfo
|
|
34
|
+
r"""SearchInfo
|
|
35
35
|
|
|
36
36
|
The model defined in huaweicloud sdk
|
|
37
37
|
|
|
@@ -64,7 +64,7 @@ class SearchInfo:
|
|
|
64
64
|
|
|
65
65
|
@property
|
|
66
66
|
def total_num(self):
|
|
67
|
-
"""Gets the total_num of this SearchInfo.
|
|
67
|
+
r"""Gets the total_num of this SearchInfo.
|
|
68
68
|
|
|
69
69
|
搜索结果总数。
|
|
70
70
|
|
|
@@ -75,7 +75,7 @@ class SearchInfo:
|
|
|
75
75
|
|
|
76
76
|
@total_num.setter
|
|
77
77
|
def total_num(self, total_num):
|
|
78
|
-
"""Sets the total_num of this SearchInfo.
|
|
78
|
+
r"""Sets the total_num of this SearchInfo.
|
|
79
79
|
|
|
80
80
|
搜索结果总数。
|
|
81
81
|
|
|
@@ -86,7 +86,7 @@ class SearchInfo:
|
|
|
86
86
|
|
|
87
87
|
@property
|
|
88
88
|
def return_num(self):
|
|
89
|
-
"""Gets the return_num of this SearchInfo.
|
|
89
|
+
r"""Gets the return_num of this SearchInfo.
|
|
90
90
|
|
|
91
91
|
返回结果总数。
|
|
92
92
|
|
|
@@ -97,7 +97,7 @@ class SearchInfo:
|
|
|
97
97
|
|
|
98
98
|
@return_num.setter
|
|
99
99
|
def return_num(self, return_num):
|
|
100
|
-
"""Sets the return_num of this SearchInfo.
|
|
100
|
+
r"""Sets the return_num of this SearchInfo.
|
|
101
101
|
|
|
102
102
|
返回结果总数。
|
|
103
103
|
|
|
@@ -108,7 +108,7 @@ class SearchInfo:
|
|
|
108
108
|
|
|
109
109
|
@property
|
|
110
110
|
def search_time(self):
|
|
111
|
-
"""Gets the search_time of this SearchInfo.
|
|
111
|
+
r"""Gets the search_time of this SearchInfo.
|
|
112
112
|
|
|
113
113
|
搜索过程耗时,单位为毫秒。
|
|
114
114
|
|
|
@@ -119,7 +119,7 @@ class SearchInfo:
|
|
|
119
119
|
|
|
120
120
|
@search_time.setter
|
|
121
121
|
def search_time(self, search_time):
|
|
122
|
-
"""Sets the search_time of this SearchInfo.
|
|
122
|
+
r"""Sets the search_time of this SearchInfo.
|
|
123
123
|
|
|
124
124
|
搜索过程耗时,单位为毫秒。
|
|
125
125
|
|
|
@@ -130,7 +130,7 @@ class SearchInfo:
|
|
|
130
130
|
|
|
131
131
|
@property
|
|
132
132
|
def last_item(self):
|
|
133
|
-
"""Gets the last_item of this SearchInfo.
|
|
133
|
+
r"""Gets the last_item of this SearchInfo.
|
|
134
134
|
|
|
135
135
|
:return: The last_item of this SearchInfo.
|
|
136
136
|
:rtype: :class:`huaweicloudsdkimagesearch.v2.SearchAfterParam`
|
|
@@ -139,7 +139,7 @@ class SearchInfo:
|
|
|
139
139
|
|
|
140
140
|
@last_item.setter
|
|
141
141
|
def last_item(self, last_item):
|
|
142
|
-
"""Sets the last_item of this SearchInfo.
|
|
142
|
+
r"""Sets the last_item of this SearchInfo.
|
|
143
143
|
|
|
144
144
|
:param last_item: The last_item of this SearchInfo.
|
|
145
145
|
:type last_item: :class:`huaweicloudsdkimagesearch.v2.SearchAfterParam`
|
|
@@ -29,7 +29,7 @@ class SearchItem:
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
def __init__(self, id=None, score=None, source=None):
|
|
32
|
-
"""SearchItem
|
|
32
|
+
r"""SearchItem
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
@@ -57,7 +57,7 @@ class SearchItem:
|
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
59
|
def id(self):
|
|
60
|
-
"""Gets the id of this SearchItem.
|
|
60
|
+
r"""Gets the id of this SearchItem.
|
|
61
61
|
|
|
62
62
|
数据唯一ID。
|
|
63
63
|
|
|
@@ -68,7 +68,7 @@ class SearchItem:
|
|
|
68
68
|
|
|
69
69
|
@id.setter
|
|
70
70
|
def id(self, id):
|
|
71
|
-
"""Sets the id of this SearchItem.
|
|
71
|
+
r"""Sets the id of this SearchItem.
|
|
72
72
|
|
|
73
73
|
数据唯一ID。
|
|
74
74
|
|
|
@@ -79,7 +79,7 @@ class SearchItem:
|
|
|
79
79
|
|
|
80
80
|
@property
|
|
81
81
|
def score(self):
|
|
82
|
-
"""Gets the score of this SearchItem.
|
|
82
|
+
r"""Gets the score of this SearchItem.
|
|
83
83
|
|
|
84
84
|
数据匹配分数。
|
|
85
85
|
|
|
@@ -90,7 +90,7 @@ class SearchItem:
|
|
|
90
90
|
|
|
91
91
|
@score.setter
|
|
92
92
|
def score(self, score):
|
|
93
|
-
"""Sets the score of this SearchItem.
|
|
93
|
+
r"""Sets the score of this SearchItem.
|
|
94
94
|
|
|
95
95
|
数据匹配分数。
|
|
96
96
|
|
|
@@ -101,7 +101,7 @@ class SearchItem:
|
|
|
101
101
|
|
|
102
102
|
@property
|
|
103
103
|
def source(self):
|
|
104
|
-
"""Gets the source of this SearchItem.
|
|
104
|
+
r"""Gets the source of this SearchItem.
|
|
105
105
|
|
|
106
106
|
:return: The source of this SearchItem.
|
|
107
107
|
:rtype: :class:`huaweicloudsdkimagesearch.v2.ItemSource`
|
|
@@ -110,7 +110,7 @@ class SearchItem:
|
|
|
110
110
|
|
|
111
111
|
@source.setter
|
|
112
112
|
def source(self, source):
|
|
113
|
-
"""Sets the source of this SearchItem.
|
|
113
|
+
r"""Sets the source of this SearchItem.
|
|
114
114
|
|
|
115
115
|
:param source: The source of this SearchItem.
|
|
116
116
|
:type source: :class:`huaweicloudsdkimagesearch.v2.ItemSource`
|
|
@@ -39,7 +39,7 @@ class SearchOptionalParam:
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
def __init__(self, do_det=None, box=None, do_cls=None, category=None, collapse_key=None, max_scan_num=None, nprobe=None, text_lang=None):
|
|
42
|
-
"""SearchOptionalParam
|
|
42
|
+
r"""SearchOptionalParam
|
|
43
43
|
|
|
44
44
|
The model defined in huaweicloud sdk
|
|
45
45
|
|
|
@@ -92,7 +92,7 @@ class SearchOptionalParam:
|
|
|
92
92
|
|
|
93
93
|
@property
|
|
94
94
|
def do_det(self):
|
|
95
|
-
"""Gets the do_det of this SearchOptionalParam.
|
|
95
|
+
r"""Gets the do_det of this SearchOptionalParam.
|
|
96
96
|
|
|
97
97
|
是否进行目标检测,默认为true。
|
|
98
98
|
|
|
@@ -103,7 +103,7 @@ class SearchOptionalParam:
|
|
|
103
103
|
|
|
104
104
|
@do_det.setter
|
|
105
105
|
def do_det(self, do_det):
|
|
106
|
-
"""Sets the do_det of this SearchOptionalParam.
|
|
106
|
+
r"""Sets the do_det of this SearchOptionalParam.
|
|
107
107
|
|
|
108
108
|
是否进行目标检测,默认为true。
|
|
109
109
|
|
|
@@ -114,7 +114,7 @@ class SearchOptionalParam:
|
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def box(self):
|
|
117
|
-
"""Gets the box of this SearchOptionalParam.
|
|
117
|
+
r"""Gets the box of this SearchOptionalParam.
|
|
118
118
|
|
|
119
119
|
目标矩形框坐标,如给定则不进行目标检测,直接使用该box作为目标。格式为“x1,y1,x2,y2”(无空格),x1/y1为目标左上角坐标,x2/y2为目标右下角坐标,具体要求如下: - 0 <= x1 < x2 <= width,默认要求x2-x1 >= 15,具体可参考服务类型说明。 - 0 <= y1 < y2 <= height,默认要求y2-y1 >= 15,具体可参考服务类型说明。
|
|
120
120
|
|
|
@@ -125,7 +125,7 @@ class SearchOptionalParam:
|
|
|
125
125
|
|
|
126
126
|
@box.setter
|
|
127
127
|
def box(self, box):
|
|
128
|
-
"""Sets the box of this SearchOptionalParam.
|
|
128
|
+
r"""Sets the box of this SearchOptionalParam.
|
|
129
129
|
|
|
130
130
|
目标矩形框坐标,如给定则不进行目标检测,直接使用该box作为目标。格式为“x1,y1,x2,y2”(无空格),x1/y1为目标左上角坐标,x2/y2为目标右下角坐标,具体要求如下: - 0 <= x1 < x2 <= width,默认要求x2-x1 >= 15,具体可参考服务类型说明。 - 0 <= y1 < y2 <= height,默认要求y2-y1 >= 15,具体可参考服务类型说明。
|
|
131
131
|
|
|
@@ -136,7 +136,7 @@ class SearchOptionalParam:
|
|
|
136
136
|
|
|
137
137
|
@property
|
|
138
138
|
def do_cls(self):
|
|
139
|
-
"""Gets the do_cls of this SearchOptionalParam.
|
|
139
|
+
r"""Gets the do_cls of this SearchOptionalParam.
|
|
140
140
|
|
|
141
141
|
是否进行对象分类,默认为true。
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@ class SearchOptionalParam:
|
|
|
147
147
|
|
|
148
148
|
@do_cls.setter
|
|
149
149
|
def do_cls(self, do_cls):
|
|
150
|
-
"""Sets the do_cls of this SearchOptionalParam.
|
|
150
|
+
r"""Sets the do_cls of this SearchOptionalParam.
|
|
151
151
|
|
|
152
152
|
是否进行对象分类,默认为true。
|
|
153
153
|
|
|
@@ -158,7 +158,7 @@ class SearchOptionalParam:
|
|
|
158
158
|
|
|
159
159
|
@property
|
|
160
160
|
def category(self):
|
|
161
|
-
"""Gets the category of this SearchOptionalParam.
|
|
161
|
+
r"""Gets the category of this SearchOptionalParam.
|
|
162
162
|
|
|
163
163
|
对象类目,如给定则不进行对象分类,直接使用该category作为类目。具体类目信息可参见对应的服务类型说明。
|
|
164
164
|
|
|
@@ -169,7 +169,7 @@ class SearchOptionalParam:
|
|
|
169
169
|
|
|
170
170
|
@category.setter
|
|
171
171
|
def category(self, category):
|
|
172
|
-
"""Sets the category of this SearchOptionalParam.
|
|
172
|
+
r"""Sets the category of this SearchOptionalParam.
|
|
173
173
|
|
|
174
174
|
对象类目,如给定则不进行对象分类,直接使用该category作为类目。具体类目信息可参见对应的服务类型说明。
|
|
175
175
|
|
|
@@ -180,7 +180,7 @@ class SearchOptionalParam:
|
|
|
180
180
|
|
|
181
181
|
@property
|
|
182
182
|
def collapse_key(self):
|
|
183
|
-
"""Gets the collapse_key of this SearchOptionalParam.
|
|
183
|
+
r"""Gets the collapse_key of this SearchOptionalParam.
|
|
184
184
|
|
|
185
185
|
去重标签名,必须为服务实例custom_tags中已存在的key。 - 如给定则会对该key下相同value的数据进行去重,仅保留得分最高的数据。 - 针对没有设置该标签的数据,会直接过滤。
|
|
186
186
|
|
|
@@ -191,7 +191,7 @@ class SearchOptionalParam:
|
|
|
191
191
|
|
|
192
192
|
@collapse_key.setter
|
|
193
193
|
def collapse_key(self, collapse_key):
|
|
194
|
-
"""Sets the collapse_key of this SearchOptionalParam.
|
|
194
|
+
r"""Sets the collapse_key of this SearchOptionalParam.
|
|
195
195
|
|
|
196
196
|
去重标签名,必须为服务实例custom_tags中已存在的key。 - 如给定则会对该key下相同value的数据进行去重,仅保留得分最高的数据。 - 针对没有设置该标签的数据,会直接过滤。
|
|
197
197
|
|
|
@@ -202,7 +202,7 @@ class SearchOptionalParam:
|
|
|
202
202
|
|
|
203
203
|
@property
|
|
204
204
|
def max_scan_num(self):
|
|
205
|
-
"""Gets the max_scan_num of this SearchOptionalParam.
|
|
205
|
+
r"""Gets the max_scan_num of this SearchOptionalParam.
|
|
206
206
|
|
|
207
207
|
扫描节点上限。值越大精度越高,查询速度变慢。默认值为10000。
|
|
208
208
|
|
|
@@ -213,7 +213,7 @@ class SearchOptionalParam:
|
|
|
213
213
|
|
|
214
214
|
@max_scan_num.setter
|
|
215
215
|
def max_scan_num(self, max_scan_num):
|
|
216
|
-
"""Sets the max_scan_num of this SearchOptionalParam.
|
|
216
|
+
r"""Sets the max_scan_num of this SearchOptionalParam.
|
|
217
217
|
|
|
218
218
|
扫描节点上限。值越大精度越高,查询速度变慢。默认值为10000。
|
|
219
219
|
|
|
@@ -224,7 +224,7 @@ class SearchOptionalParam:
|
|
|
224
224
|
|
|
225
225
|
@property
|
|
226
226
|
def nprobe(self):
|
|
227
|
-
"""Gets the nprobe of this SearchOptionalParam.
|
|
227
|
+
r"""Gets the nprobe of this SearchOptionalParam.
|
|
228
228
|
|
|
229
229
|
查询考察中心点的数目。值越大精度越高,查询速度变慢。默认值为100。
|
|
230
230
|
|
|
@@ -235,7 +235,7 @@ class SearchOptionalParam:
|
|
|
235
235
|
|
|
236
236
|
@nprobe.setter
|
|
237
237
|
def nprobe(self, nprobe):
|
|
238
|
-
"""Sets the nprobe of this SearchOptionalParam.
|
|
238
|
+
r"""Sets the nprobe of this SearchOptionalParam.
|
|
239
239
|
|
|
240
240
|
查询考察中心点的数目。值越大精度越高,查询速度变慢。默认值为100。
|
|
241
241
|
|
|
@@ -246,7 +246,7 @@ class SearchOptionalParam:
|
|
|
246
246
|
|
|
247
247
|
@property
|
|
248
248
|
def text_lang(self):
|
|
249
|
-
"""Gets the text_lang of this SearchOptionalParam.
|
|
249
|
+
r"""Gets the text_lang of this SearchOptionalParam.
|
|
250
250
|
|
|
251
251
|
文本字符串的语言类型枚举值。
|
|
252
252
|
|
|
@@ -257,7 +257,7 @@ class SearchOptionalParam:
|
|
|
257
257
|
|
|
258
258
|
@text_lang.setter
|
|
259
259
|
def text_lang(self, text_lang):
|
|
260
|
-
"""Sets the text_lang of this SearchOptionalParam.
|
|
260
|
+
r"""Sets the text_lang of this SearchOptionalParam.
|
|
261
261
|
|
|
262
262
|
文本字符串的语言类型枚举值。
|
|
263
263
|
|