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
randomJoe211 authored Jul 23, 2021
1 parent fd188dd commit 61c14d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## 自然语言全文搜索

自然语言搜索将搜索的字符串解释为自然人类语言中的短语。搜索不区分大小写,且默认是对字符串的每个子字符串(以空格为分隔单位的)单独判断搜索。例如,有三个点属于标签player,标签player含有属性name,这三个点的name分别为“Kevin Durant“,”Tim Duncan“,”David Beckham“,现在已经建立好有关player.name的全文索引,在用全文索引前缀搜索语句LOOKUP ON player WHERE PREFIX(player.name,"d");查询时,这三个点都会被查询到。
自然语言搜索将搜索的字符串解释为自然人类语言中的短语。搜索不区分大小写,且默认是对字符串的每个子字符串(以空格分隔)单独判断搜索。例如,有三个点属于标签`player`,标签`player`含有属性`name`,这三个点的`name`分别为`Kevin Durant``Tim Duncan``David Beckham`。现在已经建立好有关`player.name`的全文索引,在用全文索引前缀搜索语句`LOOKUP ON player WHERE PREFIX(player.name,"d");`查询时,这三个点都会被查询到。

## 语法

Expand Down

0 comments on commit 61c14d3

Please sign in to comment.