milvus/internal/distributed/proxy/httpserver
congqixia 4f8c540c77
enhance: cache collection schema attributes to reduce proxy cpu (#29668)
See also #29113

The collection schema is crucial when performing search/query but some
of the information is calculated for every request.

This PR change schema field of cached collection info into a utility
`schemaInfo` type to store some stable result, say pk field,
partitionKeyEnabled, etc. And provided field name to id map for
search/query services.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-04 17:28:46 +08:00
..
constant.go enhance: RESTFUL search api support range search (#29055) 2023-12-17 23:14:44 +08:00
handler.go fix: link with install path's libblob-chunk-manager (#29496) 2023-12-31 20:02:48 +08:00
handler_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
handler_v1.go enhance: cache collection schema attributes to reduce proxy cpu (#29668) 2024-01-04 17:28:46 +08:00
handler_v1_test.go fix: link with install path's libblob-chunk-manager (#29496) 2023-12-31 20:02:48 +08:00
request.go enhance: RESTFUL search api support range search (#29055) 2023-12-17 23:14:44 +08:00
utils.go fix: Rename invalid parameterutil package path (#29334) 2023-12-21 11:40:42 +08:00
utils_test.go enhance: find collection schema from cache (#28782) 2023-12-03 19:22:33 +08:00
wrap_request.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
wrap_request_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
wrapper.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
wrapper_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00