ElasticSearch indexing on timestamp
2016-01-28 09:07 三犬风 阅读(572) 评论(0) 收藏 举报curl -XPUT http://localhost:9200/demo2 -d ' { "mappings": { "log" : { "_timestamp" : { "enabled" : true }, "properties" : { "machineid" : { "type" : "string", "index" : "not_analyzed" } } } } }'
Always go with the choice that scares you the most, because that's the one that is going to require the most from you!
浙公网安备 33010602011771号