Skip to content

Commit

Permalink
Update 1.search-with-text-based-index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Sep 21, 2023
1 parent c325bf5 commit 0612df9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ LOOKUP ON {<tag> | <edge_type>} WHERE ES_QUERY(<index_name>, "<text>") YIELD <re

- `index_name`:索引名称。

- `text`:搜索条件。支持的语法请参见[Query string syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax)
- `text`:搜索条件。WHERE 后只能跟一个 ES_QUERY,所有判断条件必须写在 text 里。详细语法请参见[Query string syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax)

- `score()`:对符合条件的点做 N 度扩展计算出的分数。默认值为`1.0`。分数越高,匹配程度越高。返回值默认按照分数从高到低排序。详情参见[Search and Scoring in Lucene](https://lucene.apache.org/core/9_6_0/core/org/apache/lucene/search/package-summary.html#package.description)

Expand Down

0 comments on commit 0612df9

Please sign in to comment.