@@ -51,7 +51,7 @@ func all() {
}
func one() {
m := mongodbutil.MgoFactory(3, 3, 120, "127.0.0.1:27092", "extract_kf")
- d, _ := m.FindById("bidding_data", "5e34e8f550b5ea296ed0deeb", extract.Fields)
+ d, _ := m.FindById("bidding_data", "5c442fa4a5cb26b9b7f52f70", extract.Fields)
com(*d)
func com(doc map[string]interface{}) {
@@ -308,7 +308,7 @@
]
},
- "buyerperson": {
+ "agencyperson": {
"type": "string",
"positivewords": [
{
@@ -344,7 +344,48 @@
+ "agencytel": {
+ "type": "string",
+ "positivewords": [],
+ "negativewords": [
+ {
+ "describe": "出现中文汉字",
+ "regstr": "[\\u4e00-\\u9fa5]",
+ "score": -10
+ }, {
+ "describe": "包含负分",
+ "regstr": "(详见公告)",
+ }
+ ],
+ "length": [
+ "describe": "[gt,lte,score]",
+ "range": [
+ 0,
+ 6,
+ -5
+ ]
+ },
+ 14,
+ 3
+ "describe": "[gt,∞,score]",
+ -1,
+ -1
+ "buyerperson": {
@@ -380,7 +421,7 @@
- "buyertel": {
+ "buyertel": {
"positivewords": [],
"negativewords": [
@@ -5,7 +5,8 @@
"buyer": true,
"winner": true,
"agency": true,
- "buyerperson":true
+ "buyerperson":true,
+ "agencyperson":true
"symbol": [
@@ -81,7 +81,7 @@ $(function () {
"searching" : true,
"ordering" : false,
"info" : true,
- "autoWidth" : false,
+ "autoWidth" : true,
"serverSide" : true,
"ajax": {
"url": "/admin/resulttrack/list",