diff --git a/docs-2.0/3.ngql-guide/15.full-text-index-statements/1.search-with-text-based-index.md b/docs-2.0/3.ngql-guide/15.full-text-index-statements/1.search-with-text-based-index.md index f391ae5e308..8269278eb28 100644 --- a/docs-2.0/3.ngql-guide/15.full-text-index-statements/1.search-with-text-based-index.md +++ b/docs-2.0/3.ngql-guide/15.full-text-index-statements/1.search-with-text-based-index.md @@ -77,7 +77,7 @@ LOOKUP ON { | } WHERE [YIELD ]; nebula> CREATE SPACE IF NOT EXISTS basketballplayer (partition_num=3,replica_factor=1, vid_type=fixed_string(30)); // This example signs in the text service. -nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200); +nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200, HTTP); // This example switches the graph space. nebula> USE basketballplayer; diff --git a/docs-2.0/4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md b/docs-2.0/4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md index 5b6225c3dd3..c499f832dc5 100644 --- a/docs-2.0/4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md +++ b/docs-2.0/4.deployment-and-installation/6.deploy-text-based-index/2.deploy-es.md @@ -77,13 +77,13 @@ When the Elasticsearch cluster is deployed, use the `SIGN IN` statement to sign ### Syntax ```ngql -SIGN IN TEXT SERVICE [( [,"", ""]), (), ...]; +SIGN IN TEXT SERVICE (, {HTTP | HTTPS} [,"", ""]) [, (, ...)]; ``` ### Example ```ngql -nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200); +nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200, HTTP); ``` !!! Note