xxxxxxxxx/_search 查询数据
xxxxxxxxx/_count 查询总数
拼接参数:
{
“size”: 69,
“query”: {
“bool”: {
“must”: [{
“bool”: {
“should”: [{
“match”: {
“stElementPattern”: {
“query”: “汽车”,
“boost”: 50
}
}
}, {
“match”: {
“stDeclarationName”: {
“query”: “汽车”,
“boost”: 50
}
}
}]
}
}, {
“bool”: {
“should”: {
“bool”: {
“filter”: {
“wildcard”: {
“stTariffCode.keyword”: {
“value”: “7320102000”
}
}
}
}
}
}
}, {
“bool”: {
“should”: {
“bool”: {
“filter”: {
“wildcard”: { – 不分词
“stDeclarationName.keyword”: {
“value”: “汽车用片簧及簧片”
}
}
}
}
}
}
}, {
“bool”: {
“should”: {
“bool”: {
“filter”: {
“match”: { – 分词
“stDeclarationDesc”: {
“query”: “111”
}
}
}
}
}
}
}]
}
},
“from”: 0
}