Skip to content

Commit

Permalink
Update 17.ES-function.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy committed Jun 24, 2022
1 parent f40ca6d commit f443547
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Elasticsearch 查询函数

Elasticsearch 查询函数可以让 Nebula Graph 向 Elasticsearch 发送 GET 请求读取数据,并将返回的 JSON 转换为Nebula Graph 内的 map 格式,以便用于同一个复合图查询语句中。
Elasticsearch 查询函数可以让 Nebula Graph 向 Elasticsearch 发送 GET 请求读取数据,并将返回的 JSON 转换为 Nebula Graph 内的 map 格式,以便用于同一个复合图查询语句中。

关于 Elasticsearch 语法,请参见 [Elasticsearch 官方文档](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-your-data.html)

Expand Down Expand Up @@ -103,4 +103,4 @@ nebula> WITH callesfile('/home/xxx/es_query.txt') AS s \
| <("LeBron James" :player{age: 34, name: "LeBron James"})-[:serve@1 {end_year: 2018, start_year: 2014}]->("Cavaliers" :team{name: "Cavaliers"})> |
| <("LeBron James" :player{age: 34, name: "LeBron James"})-[:serve@0 {end_year: 2010, start_year: 2003}]->("Cavaliers" :team{name: "Cavaliers"})> |
...
```
```

0 comments on commit f443547

Please sign in to comment.