@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/buyer_v1 -d '{
+curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/buyer_v2 -d '{
"settings": {
"index": {
"analysis": {
@@ -29,26 +29,14 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
"buyer_name": {
"type": "keyword"
},
- "institute_type": {
- "type": "keyword"
- },
"buyerclass": {
"id": {
- "fixedphone": {
- "mobilephone": {
- "latestfixedphone": {
- "latestmobilephone": {
+ "is_contact":{
+ "type": "boolean"
"province": {