Jianghan 4 gadi atpakaļ
vecāks
revīzija
006710a9e5
1 mainītis faili ar 127 papildinājumiem un 127 dzēšanām
  1. 127 127
      mapping/biddingmapping.json

+ 127 - 127
mapping/biddingmapping.json

@@ -1,4 +1,4 @@
- curl -XPUT http://127.0.0.1:9800/bidding_v1 -d '{
+curl -XPUT http://192.168.3.11:9800/bidding_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -25,7 +25,7 @@
             "token_chars": [
               "letter",
               "digit",
-			  "punctuation",
+              "punctuation",
               "symbol"
             ],
             "min_gram": "1",
@@ -36,7 +36,7 @@
             "token_chars": [
               "letter",
               "digit",
-			  "punctuation",
+              "punctuation",
               "symbol"
             ],
             "min_gram": "2",
@@ -45,7 +45,7 @@
           }
         }
       },
-      "number_of_shards": "8",
+      "number_of_shards": "2",
       "number_of_replicas": "1"
     }
   },
@@ -62,271 +62,271 @@
         "enabled": false
       },
       "properties": {
-		"buyerzipcode": {
+        "buyerzipcode": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"winnertel": {
+        "winnertel": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"winnerperson": {
+        "winnerperson": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"contractcode": {
+        "contractcode": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"winneraddr": {
+        "winneraddr": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"agencyaddr": {
+        "agencyaddr": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"buyeraddr": {
+        "buyeraddr": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"signaturedate": {
-		  "type": "long"
-		},
-		"projectperiod": {
-		  "index": "not_analyzed",
+        "signaturedate": {
+          "type": "long"
+        },
+        "projectperiod": {
+          "index": "not_analyzed",
           "type": "string"
-		},
-		"projectaddr": {
-		  "index": "not_analyzed",
+        },
+        "projectaddr": {
+          "index": "not_analyzed",
           "type": "string"
-		},
-		"agencytel": {
+        },
+        "agencytel": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"agencyperson": {
+        "agencyperson": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"buyerperson": {
+        "buyerperson": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"agency": {
+        "agency": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"projectscope": {
+        "projectscope": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"projectcode": {
+        "projectcode": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"bidopentime": {
+        "bidopentime": {
           "type": "long"
         },
-		"supervisorrate": {
-		  "type": "double"
-		},
-		"buyertel": {
+        "supervisorrate": {
+          "type": "double"
+        },
+        "buyertel": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"bidamount": {
+        "bidamount": {
           "type": "double"
         },
-		"winner": {
+        "winner": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"buyer": {
+        "buyer": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"budget": {
+        "budget": {
           "type": "double"
         },
-		"projectname": {
+        "projectname": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"s_projectname":{
-		  "type": "string"
-		},
-		"bidstatus": {
+        "s_projectname": {
+          "type": "string"
+        },
+        "bidstatus": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"buyerclass": {
+        "buyerclass": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"topscopeclass": {
+        "topscopeclass": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"s_subscopeclass": {
+        "s_subscopeclass": {
           "analyzer": "douhao",
           "type": "string"
         },
-		"area": {
+        "area": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"city": {
+        "city": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"district": {
+        "district": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"s_winner": {
+        "s_winner": {
           "analyzer": "douhao",
           "type": "string"
         },
-		"id": {
+        "id": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"title": {
+        "title": {
           "analyzer": "my_ngram_title",
           "type": "string"
         },
-		"detail": {
+        "detail": {
           "analyzer": "my_ngram",
           "type": "string"
         },
-		"site": {
+        "site": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"comeintime": {
+        "comeintime": {
           "type": "long"
         },
-		"href": {
+        "href": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"infoformat": {
+        "infoformat": {
           "type": "long"
         },
-		"publishtime": {
+        "publishtime": {
           "type": "long"
         },
-		"s_sha": {
+        "s_sha": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"spidercode": {
+        "spidercode": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"toptype": {
+        "toptype": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"subtype": {
+        "subtype": {
           "index": "not_analyzed",
           "type": "string"
         },
-		"projectinfo": {
+        "projectinfo": {
           "properties": {
             "approvecode": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
             "approvecontent": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
             "approvestatus": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
             "approvetime": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
-			 "approvedept": {
-				"index": "not_analyzed",
+            "approvedept": {
+              "index": "not_analyzed",
               "type": "string"
             },
             "approvenumber": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
             "projecttype": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             },
             "approvecity": {
-				"index": "not_analyzed",
+              "index": "not_analyzed",
               "type": "string"
             }
           }
         },
-		"attachments": {
-		  "analyzer": "my_ngram",
-		  "type": "string"
-		},
-		"filetext": {
-		  "type":"string",
-		  "analyzer": "my_ngram"
-	    },
-		"purchasing": {
-		  "type":"string",
-		  "analyzer": "douhao"
-		},
-		"purchasinglist": {
-		  "properties":{
-			"itemname":{
-				"index": "not_analyzed",
-			  "type":"string"
-			},
-			"model":{
-				"index": "not_analyzed",
-			  "type":"string"
-			},
-			"unitname":{
-				"index": "not_analyzed",
-			  "type":"string"
-			},
-			"number":{
-			 "type":"double"
-			}
-		  }
-		},
-		"tagname":{
-		  "analyzer": "douhao",
-		  "type":"string"
-		},
-		"s_topscopeclass":{
-		  "analyzer": "douhao",
-		  "type":"string"
-		},
-		"channel": {
-          "index": "not_analyzed",
-          "type": "string"
-        },
-		"winnerorder": {
-		  "properties":{
-			"sort":{
-			  "type":"integer"
-			},
-			"sortstr":{
-				"index": "not_analyzed",
-			  "type":"string"
-			},
-			"entname":{
-				"index": "not_analyzed",
-			  "type":"string"
-			}
-		  }
-		}
+        "attachments": {
+          "analyzer": "my_ngram",
+          "type": "string"
+        },
+        "filetext": {
+          "type": "string",
+          "analyzer": "my_ngram"
+        },
+        "purchasing": {
+          "type": "string",
+          "analyzer": "douhao"
+        },
+        "purchasinglist": {
+          "properties": {
+            "itemname": {
+              "index": "not_analyzed",
+              "type": "string"
+            },
+            "model": {
+              "index": "not_analyzed",
+              "type": "string"
+            },
+            "unitname": {
+              "index": "not_analyzed",
+              "type": "string"
+            },
+            "number": {
+              "type": "double"
+            }
+          }
+        },
+        "tagname": {
+          "analyzer": "douhao",
+          "type": "string"
+        },
+        "s_topscopeclass": {
+          "analyzer": "douhao",
+          "type": "string"
+        },
+        "channel": {
+          "index": "not_analyzed",
+          "type": "string"
+        },
+        "winnerorder": {
+          "properties": {
+            "sort": {
+              "type": "integer"
+            },
+            "sortstr": {
+              "index": "not_analyzed",
+              "type": "string"
+            },
+            "entname": {
+              "index": "not_analyzed",
+              "type": "string"
+            }
+          }
+        }
       }
     }
   }