mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-29 08:12:21 +00:00
update
This commit is contained in:
parent
b76317b9d0
commit
50bd645b66
@ -100,7 +100,7 @@ es 定义了一套查询 DSL,当我们把 es 当数据库使用时,需要用
|
|||||||
"must": [
|
"must": [
|
||||||
{
|
{
|
||||||
"match": {
|
"match": {
|
||||||
"a": {
|
"field_1": {
|
||||||
"query": "1",
|
"query": "1",
|
||||||
"type": "phrase"
|
"type": "phrase"
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ es 定义了一套查询 DSL,当我们把 es 当数据库使用时,需要用
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"match": {
|
"match": {
|
||||||
"b": {
|
"field_2": {
|
||||||
"query": "2",
|
"query": "2",
|
||||||
"type": "phrase"
|
"type": "phrase"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user