|
@@ -1,5 +1,5 @@
|
|
## 情报数据,对应clickhouse
|
|
## 情报数据,对应clickhouse
|
|
-curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9200/information -d '{
|
|
|
|
|
|
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/information_v1 -d '{
|
|
"settings": {
|
|
"settings": {
|
|
"index": {
|
|
"index": {
|
|
"analysis": {
|
|
"analysis": {
|
|
@@ -20,7 +20,7 @@ curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9200/infor
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "number_of_shards": "2",
|
|
|
|
|
|
+ "number_of_shards": "9",
|
|
"number_of_replicas": "0"
|
|
"number_of_replicas": "0"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -131,6 +131,9 @@ curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9200/infor
|
|
"datajson_winnertel": {
|
|
"datajson_winnertel": {
|
|
"type": "keyword"
|
|
"type": "keyword"
|
|
},
|
|
},
|
|
|
|
+ "datajson_projectamount": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
"datajson": {
|
|
"datajson": {
|
|
"type": "text",
|
|
"type": "text",
|
|
"analyzer": "my_ngram"
|
|
"analyzer": "my_ngram"
|