Open linjin200 opened 4 years ago
I built the index manually
Can monstache synchronize only a few fields in it... It seems that the whole mongodb table is synchronized by the montache
PUT dy_user/ { "settings": { "number_of_shards": 5, "number_of_replicas": 1, "refresh_interval": "60s" }, "mappings": { "date_detection": false, "numeric_detection": true, "properties": { "account": { "type": "long" }, "birthday": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "child_domain": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "dyID": { "type": "text" } } } }
Please see previous issue or docs.
I built the index manually
Can monstache synchronize only a few fields in it... It seems that the whole mongodb table is synchronized by the montache
PUT dy_user/ { "settings": { "number_of_shards": 5, "number_of_replicas": 1, "refresh_interval": "60s" }, "mappings": { "date_detection": false, "numeric_detection": true, "properties": { "account": { "type": "long" }, "birthday": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "child_domain": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "dyID": { "type": "text" } } } }