|
@@ -1,4 +1,4 @@
|
|
|
-curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9201/qyxy_v2 -d '{
|
|
|
+curl -H 'Content-Type: application/json' -XPUT http://172.20.45.129:9206/qyxy_v1 -d '{
|
|
|
"settings": {
|
|
|
"index": {
|
|
|
"analysis": {
|
|
@@ -55,7 +55,7 @@ curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9201/qyxy_
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "number_of_shards": "2",
|
|
|
+ "number_of_shards": "1",
|
|
|
"number_of_replicas": "0"
|
|
|
}
|
|
|
},
|
|
@@ -68,10 +68,6 @@ curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9201/qyxy_
|
|
|
"fields": {
|
|
|
"ent_name": {
|
|
|
"type": "keyword"
|
|
|
- },
|
|
|
- "ent_ikname": {
|
|
|
- "analyzer": "ik_smart",
|
|
|
- "type": "text"
|
|
|
}
|
|
|
}
|
|
|
},
|