Skip to content

Commit

Permalink
update full-text index (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Mar 1, 2022
1 parent 2657a8e commit 8e14f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ LOOKUP ON {<tag> | <edge_type>} WHERE <expression> [YIELD <return_list>];
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ When the Elasticsearch cluster is deployed, use the `SIGN IN` statement to sign
### Syntax

```ngql
SIGN IN TEXT SERVICE [(<elastic_ip:port> [,"<username>", "<password>"]), (<elastic_ip:port>), ...];
SIGN IN TEXT SERVICE (<elastic_ip:port>, {HTTP | HTTPS} [,"<username>", "<password>"]) [, (<elastic_ip:port>, ...)];
```

### Example

```ngql
nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200);
nebula> SIGN IN TEXT SERVICE (127.0.0.1:9200, HTTP);
```

!!! Note
Expand Down

0 comments on commit 8e14f70

Please sign in to comment.