first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
15
ELK/match与match_phrase.md
Normal file
15
ELK/match与match_phrase.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
```
|
||||
## 搜索索引bank中的addree字段包含mill或lane的数据
|
||||
GET /bank/_search
|
||||
{
|
||||
"query": { "match": { "address": "mill lane" } }
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
## 搜索索引bank中的addree字段包含“mill lane”的数据
|
||||
GET /bank/_search
|
||||
{
|
||||
"query": { "match_phrase": { "address": "mill lane" } }
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue