1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-29 08:12:21 +00:00
This commit is contained in:
Xargin 2018-07-11 12:13:27 +08:00
parent b76317b9d0
commit 50bd645b66

View File

@ -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"
} }