# Query String
GET /ecommerce/product/1?_source=producer,tags
# Query DSL
GET /ecommerce/product/_search
{
"query": {
"match": {
"tags": "fangzhu"
}
},
"_source":["producer","tags"]
}
# Query String
GET /ecommerce/product/1?_source=producer,tags
# Query DSL
GET /ecommerce/product/_search
{
"query": {
"match": {
"tags": "fangzhu"
}
},
"_source":["producer","tags"]
}