提交 9ef461c6 编写于 作者: K kun yu

modify clienttest


Former-commit-id: 048321899e3744bdcfe80126aeea5f4f23acc10b
上级 78065d48
...@@ -23,7 +23,7 @@ namespace { ...@@ -23,7 +23,7 @@ namespace {
constexpr int64_t NQ = 10; constexpr int64_t NQ = 10;
constexpr int64_t TOP_K = 10; constexpr int64_t TOP_K = 10;
constexpr int64_t SEARCH_TARGET = 5000; //change this value, result is different constexpr int64_t SEARCH_TARGET = 5000; //change this value, result is different
constexpr int64_t ADD_VECTOR_LOOP = 5; constexpr int64_t ADD_VECTOR_LOOP = 1;
constexpr int64_t SECONDS_EACH_HOUR = 3600; constexpr int64_t SECONDS_EACH_HOUR = 3600;
#define BLOCK_SPLITER std::cout << "===========================================" << std::endl; #define BLOCK_SPLITER std::cout << "===========================================" << std::endl;
...@@ -174,7 +174,7 @@ namespace { ...@@ -174,7 +174,7 @@ namespace {
std::vector<TopKQueryResult> topk_query_result_array; std::vector<TopKQueryResult> topk_query_result_array;
{ {
TimeRecorder rc(phase_name); TimeRecorder rc(phase_name);
Status stat = conn->SearchVector("qqq", record_array, query_range_array, TOP_K, topk_query_result_array); Status stat = conn->SearchVector(TABLE_NAME, record_array, query_range_array, TOP_K, topk_query_result_array);
std::cout << "SearchVector function call status: " << stat.ToString() << std::endl; std::cout << "SearchVector function call status: " << stat.ToString() << std::endl;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册