From b487aaf789f151ab81b4f6de0b50275c95a26d1d Mon Sep 17 00:00:00 2001 From: zhiru Date: Sun, 30 Jun 2019 15:58:22 +0800 Subject: [PATCH 1/2] edit README.md Former-commit-id: dbfa99efc83ec995a40f24f17d2c4427f612dc71 --- cpp/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpp/README.md b/cpp/README.md index c1cd381442..1b2f507db2 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -53,6 +53,12 @@ If you encounter the following error when building: ### Launch server Set config in cpp/conf/server_config.yaml +Add milvus/bin/lib to LD_LIBRARY_PATH + +``` +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/milvus/bin/lib +``` + Then launch server with config: cd [build output path] start_server.sh From 9e87c4b147aabd53783a532003e71750925c633a Mon Sep 17 00:00:00 2001 From: zhiru Date: Sun, 30 Jun 2019 16:08:56 +0800 Subject: [PATCH 2/2] edit server_config.template Former-commit-id: e88640834e9999cda6eec885cdb91bcaefe1b566 --- cpp/conf/server_config.template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpp/conf/server_config.template b/cpp/conf/server_config.template index 1a1c8303f2..6b432056c5 100644 --- a/cpp/conf/server_config.template +++ b/cpp/conf/server_config.template @@ -6,7 +6,12 @@ server_config: db_config: db_path: @MILVUS_DB_PATH@ # milvus data storage path - db_backend_url: http://127.0.0.1 # meta database uri + + # URI format: dialect://username:password@host:port/database + # All parts except dialect are optional, but you MUST include the delimiters + # Currently dialect supports mysql or sqlite + db_backend_url: dialect://username:password@host:port/database # meta database uri + index_building_threshold: 1024 # index building trigger threshold, default: 1024, unit: MB archive_disk_threshold: 512 # triger archive action if storage size exceed this value, unit: GB archive_days_threshold: 30 # files older than x days will be archived, unit: day