diff --git a/cpp/scripts/start_server.sh b/cpp/scripts/start_server.sh index 72e120f2ce2c43a04b7913494e9ab493c18ae1c2..312cef86d6f1cd0714b1e948489a8f8514b5a36f 100755 --- a/cpp/scripts/start_server.sh +++ b/cpp/scripts/start_server.sh @@ -1,4 +1,4 @@ #!/bin/bash -../bin/milvus_grpc_server -c ../conf/server_config.yaml -l ../conf/log_config.conf +../bin/milvus_server -c ../conf/server_config.yaml -l ../conf/log_config.conf diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index 9182ff9d9a71c23e4e842aafa4c2e7d5c129d51a..de6e405d1f386ffa5c3a13b391987196f06516bb 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -209,7 +209,7 @@ if (MILVUS_WITH_THRIFT STREQUAL "ON") ${metrics_files} ) else() - add_executable(milvus_grpc_server + add_executable(milvus_server ${config_files} ${server_files} ${grpcserver_files} @@ -229,21 +229,21 @@ if (ENABLE_LICENSE STREQUAL "ON") if(MILVUS_WITH_THRIFT STREQUAL "ON") target_link_libraries(milvus_thrift_server ${server_libs} license_check ${knowhere_libs} ${third_party_libs}) else() - target_link_libraries(milvus_grpc_server ${server_libs} license_check ${knowhere_libs} ${third_party_libs}) + target_link_libraries(milvus_server ${server_libs} license_check ${knowhere_libs} ${third_party_libs}) endif() else () if(MILVUS_WITH_THRIFT STREQUAL "ON") target_link_libraries(milvus_thrift_server ${server_libs} ${knowhere_libs} ${third_party_libs}) else() - target_link_libraries(milvus_grpc_server ${server_libs} ${knowhere_libs} ${third_party_libs}) + target_link_libraries(milvus_server ${server_libs} ${knowhere_libs} ${third_party_libs}) endif() endif() if (MILVUS_WITH_THRIFT STREQUAL "ON") install(TARGETS milvus_thrift_server DESTINATION bin) else() - install(TARGETS milvus_grpc_server DESTINATION bin) + install(TARGETS milvus_server DESTINATION bin) endif() install(FILES diff --git a/cpp/start_server.sh b/cpp/start_server.sh index e215242471367783ec24c703dc773405808e60a7..50bf8b84a866a743fd43ce9e421568421ba28202 100755 --- a/cpp/start_server.sh +++ b/cpp/start_server.sh @@ -1,4 +1,4 @@ #!/bin/bash -./cmake_build/src/milvus_grpc_server -c ./conf/server_config.yaml -l ./conf/log_config.conf & +./cmake_build/src/milvus_server -c ./conf/server_config.yaml -l ./conf/log_config.conf &