Home > Back-end >  Using RestHighLevelClient query es
Using RestHighLevelClient query es

Time:12-15

The document format is as follows, which is a list in the message, each of the data; Separated, want to query out three message under certain conditions, conditions for agtnum for 82202996, the message returns results for 3, each query do paging processing
{
"_index" : "crm_ads,"
"_type" : "crm_pushmessage_es,"
"_id" : "4 s7bvhybviwtgwffi1sv,"
"_score" : 1.0,
"_source" : {
"Agtnum" : "82202996",
"Clntnum" : "05004776",
"Sumweight" : "2",
"Message" : "10 | 1 | Liu Sijun,; 9 | 1 | Liu Sijun,; 8 | 1 | Liu Sijun,; 7 | 1 | Liu Sijun,; 6 | 1 | Liu Sijun, "
"Createtime", "2020-12-12 00:00:00"
}
},
  • Related