20 Commits

Author SHA1 Message Date
PowderLi
ab188dccae
Add a new configuration item: proxy.http.port (#25923)
user define the port for high-level restful api by themselves
    user can only use the default port same as grcp only while tlsMode == 0
fix need authenticate only while authorizationEnable: true
restful api allow origin: *
support insert a single row and an array whose length is 1 at the same time
http response code: 401-incorrect username & password; 403-user has no permission
create collection with default index: vector_idx
while field.DataType == varchar, show it's max_length
check the required parameter

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-08-08 10:17:09 +08:00
PowderLi
d32bf3922f
Restful api error information (#25823)
Fix get/query without outputFields return all fields include vector field
Fix check db exists after authorization

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-07-21 20:31:02 +08:00
PowderLi
cfd287f1c1
Fix default shards num = 1 while create collection (#25702)
Signed-off-by: PowderLi <min.li@zilliz.com>
2023-07-20 19:32:59 +08:00
PowderLi
a75cd13464
Fix search request miss import parameter (#25588)
Fix get/query/search better return a emtry array rather than NULL
Fix search with empty outputField should return id & score

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-07-16 18:38:37 +08:00
PowderLi
b8880b6121
[fix]insert return success but didn't store dynamic fields (#25494)
[fix]return [] rather than null while there is no collections
[fix]describe collection didn't show the dim of the vector field
[fix]shouldn't return 200 while drop a non-exists collections
[fix]should use the `dbName` parameter
[fix]get/query use the default output fileds: ["*"]
[fix]limit & offset parameters should work

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-07-13 15:34:33 +08:00
PowderLi
4dd028363b
support high-level RESTFUL API, listen on the same port as grpc (#24761)
Signed-off-by: PowderLi <min.li@zilliz.com>
2023-07-10 19:18:28 +08:00
congqixia
5973f5aeb9
Use go-api/v2 for milvus-proto (#24723)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-06-07 21:32:37 +08:00
wayblink
bcf0ee6ea1
Add blank GetIndexStatistics interface (#24496)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-05-30 13:37:29 +08:00
jaime
d7bc8afecc
Support databse (#23742)
Co-authored-by: longjiquan jiquan.long@zilliz.com

Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-05-16 15:57:24 +08:00
shaoyue
0c49a1fe87
[restapi] Fix insert request lost precision for int64 fields (#20827)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-11-25 13:57:12 +08:00
SimFG
729e9d48fe
Improve the mockProxyComponent methods' receiver (#20115)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-27 18:47:32 +08:00
SimFG
a55f739608
Separate public proto files (#19782)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-16 20:49:27 +08:00
jaime
31db01b6ae
Support TTL for collection level (#19383)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-10-10 20:31:22 +08:00
shaoyue
08ade66c85
Fix insert varchar, forbid insert string type (#19580)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-09-30 18:48:55 +08:00
SimFG
d7f38a803d
Separate some proto files (#19218)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-09-16 16:56:49 +08:00
shaoyue
32a3ed0791
Add e2e test for RESTful APIs, fix json encoding for on proto_oneof fields (#17362)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-06-20 22:06:12 +08:00
shaoyue
7c52a8c535
Add RESTful API for new methods, fix err when receive empty boy (#17260)
create collection schema use struct instead of protobuf

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-06-02 17:40:04 +08:00
shaoyue
2f49db9d3c
Implements remaining rest APIs (#16387)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-04-29 15:15:47 +08:00
shaoyue
97e5d77953
implements restful entities api (#15916)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-03-21 11:21:23 +08:00
shaoyue
83fdc1da7c
Add web server in proxy with sample handler (#15647)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-02-23 14:37:52 +08:00