123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- 创建索引
- POST http://172.19.103.68:9200/health_edu_article_patient_test
- 查询索引
- GET http://172.19.103.68:9200/health_edu_article_patient_test/
- 给索引加mapping
- POST http://172.19.103.68:9200/health_edu_article_patient_test/health_edu_article_patient_test/_mapping
- {
- "health_edu_article_patient_test": {
- "properties": {
- "patient": {
- "type": "string",
- "index": "not_analyzed"
- },
- "patientName": {
- "type": "string",
- "index": "not_analyzed"
- },
- "doctor": {
- "type": "string",
- "index": "not_analyzed"
- },
- "doctorName": {
- "type": "string",
- "index": "not_analyzed"
- },
- "adminTeamCode": {
- "type": "integer",
- "index": "not_analyzed"
- },
- "adminTeamName": {
- "type": "string",
- "index": "not_analyzed"
- },
- "hospital": {
- "type": "string",
- "index": "not_analyzed"
- },
- "hospitalName": {
- "type": "string",
- "index": "not_analyzed"
- },
- "town": {
- "type": "string",
- "index": "not_analyzed"
- },
- "townName": {
- "type": "string",
- "index": "not_analyzed"
- },
- "batchNo": {
- "type": "string",
- "index": "not_analyzed"
- },
- "articleId": {
- "type": "string",
- "index": "not_analyzed"
- },
- "attachedTitle": {
- "type": "string",
- "index": "not_analyzed"
- },
- "attachedPic": {
- "type": "string",
- "index": "not_analyzed"
- },
- "attachedContent": {
- "type": "string",
- "index": "not_analyzed"
- },
- "attachedMessage": {
- "type": "string",
- "index": "not_analyzed"
- },
- "articleType": {
- "type": "string",
- "index": "not_analyzed"
- },
- "level1Type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "level2Type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "level": {
- "type": "string",
- "index": "not_analyzed"
- },
- "createTime": {
- "type": "date",
- "index": "not_analyzed"
- }
- }
- }
- }
|