|
@@ -1,4 +1,4 @@
|
|
-curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/qyxy_v1 -d '{
|
|
|
|
|
|
+curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9201/qyxy_v2 -d '{
|
|
"settings": {
|
|
"settings": {
|
|
"index": {
|
|
"index": {
|
|
"analysis": {
|
|
"analysis": {
|
|
@@ -55,7 +55,7 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "number_of_shards": "9",
|
|
|
|
|
|
+ "number_of_shards": "2",
|
|
"number_of_replicas": "0"
|
|
"number_of_replicas": "0"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -251,6 +251,23 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:
|
|
"nseo_id": {
|
|
"nseo_id": {
|
|
"type": "keyword"
|
|
"type": "keyword"
|
|
},
|
|
},
|
|
|
|
+ "zhima_labels": {
|
|
|
|
+ "type": "nested",
|
|
|
|
+ "properties": {
|
|
|
|
+ "zhima_name": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "zhima_definition": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "zhima_subtype": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "zhima_toptype": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
"employee_num": {
|
|
"employee_num": {
|
|
"type": "integer"
|
|
"type": "integer"
|
|
}
|
|
}
|