批量插入:
POST consultation/_bulk
{"index":{"_index":"consultation", "_type":"_doc", "_id": 1539943}}
{"id": 1539943,"createdOn": "2021-12-24 17:47:34","consultNumber": "CN-202112241747HVWN","consultType": "ImageText","inquiryTimes": 2,"hasInquiryTimes": 2,"consultState": "return","overtimeRemindTimes": 0,"purchaseTimes": 2,"hasPurchaseTimes": 2,"overtime": "2021-12-25 17:47:34","completetime": "2021-12-25 17:47:34","membershipLevel": 100,"serviceMoneyListId": 11021,"consultantID": 0,"userId": "ug9lqaP@qIV6Duyy:*2iY","consultantName": "幻惑之风","doctorName": "幻惑之风","patientID": 2029725,"patientName": "123456","age": "17岁8月","sex": 1,"hasReply": false,"inquiryPurchaseCnt": 0,"authorise": false,"departmentId": 0,"serviceState": "normal","expectExpire": false,"callStatus": false,"hasRemark": false,"merchantInfo": {"merchantId": "2BEE2FF0"},"iiinessType": "先天性心脏病","iiinessDescription": "hfjdnd","doctorID": "ug9lqaP@qIV6Duyy:*2iY","isInquiry": false,"isRTAuthorize": false}
{"index":{"_index":"consultation", "_type":"_doc", "_id": 1539898}}
{"id": 1539898,"createdOn": "2021-12-24 10:16:23","consultNumber": "CN-202112241016PSva","consultType": "ImageText","inquiryTimes": 2,"hasInquiryTimes": 2,"consultState": "return","overtimeRemindTimes": 0,"purchaseTimes": 2,"hasPurchaseTimes": 2,"overtime": "2021-12-25 10:16:23","completetime": "2021-12-25 10:16:23","membershipLevel": 100,"serviceMoneyListId": 11021,"consultantID": 0,"userId": "ug9lqaP@qIV6Duyy:*2iY","consultantName": "幻惑之风","doctorName": "幻惑之风","patientID": 2029725,"patientName": "123456","age": "17岁8月","sex": 1,"hasReply": false,"inquiryPurchaseCnt": 0,"authorise": false,"departmentId": 0,"serviceState": "normal","expectExpire": false,"callStatus": false,"hasRemark": false,"merchantInfo": {"merchantId": "2BEE2FF0"},"iiinessType": "先天性心脏病","iiinessDescription": "hfjdnd","doctorID": "ug9lqaP@qIV6Duyy:*2iY","isInquiry": false,"isRTAuthorize": false}
查询所有索引&#x