|
@@ -0,0 +1,160 @@
|
|
|
|
+## 人脉通 transaction_info-交易信息表
|
|
|
|
+curl -H 'Content-Type: application/json' -XPUT http://192.168.3.149:9201/transaction_info_v1 -d '{
|
|
|
|
+ "settings": {
|
|
|
|
+ "index": {
|
|
|
|
+ "analysis": {
|
|
|
|
+ "analyzer": {
|
|
|
|
+ "my_ngram_title": {
|
|
|
|
+ "filter": [
|
|
|
|
+ "lowercase"
|
|
|
|
+ ],
|
|
|
|
+ "tokenizer": "my_ngram_title"
|
|
|
|
+ },
|
|
|
|
+ "douhao": {
|
|
|
|
+ "type": "pattern",
|
|
|
|
+ "pattern": ","
|
|
|
|
+ },
|
|
|
|
+ "my_ngram": {
|
|
|
|
+ "filter": [
|
|
|
|
+ "lowercase"
|
|
|
|
+ ],
|
|
|
|
+ "tokenizer": "my_ngram"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tokenizer": {
|
|
|
|
+ "my_ngram_title": {
|
|
|
|
+ "token_chars": [
|
|
|
|
+ "letter",
|
|
|
|
+ "digit",
|
|
|
|
+ "punctuation",
|
|
|
|
+ "symbol"
|
|
|
|
+ ],
|
|
|
|
+ "min_gram": "1",
|
|
|
|
+ "type": "nGram",
|
|
|
|
+ "max_gram": "1"
|
|
|
|
+ },
|
|
|
|
+ "my_ngram": {
|
|
|
|
+ "token_chars": [
|
|
|
|
+ "letter",
|
|
|
|
+ "digit"
|
|
|
|
+ ],
|
|
|
|
+ "min_gram": "2",
|
|
|
|
+ "type": "nGram",
|
|
|
|
+ "max_gram": "2"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "number_of_shards": "2",
|
|
|
|
+ "number_of_replicas": "0"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "mappings": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "project_name": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "pname": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "project_budget": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "project_bidamount": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "project_money": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "business_type": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "project_bidstatus": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "info_id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "information_id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyer": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "mbuyer": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "buyer_id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winner": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "winner_id": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "agency": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "magency": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "agency_id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "property_form": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "subclass": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "multipackage": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "area": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "city": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "district": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "zbtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "jgtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "starttime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "endtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "create_time": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "update_time": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}'
|
|
|
|
+
|