ElasticSearch
De Ardemans Wiki
Revisión a fecha de 11:20 30 jul 2014; Pmblanco (Discusión | contribuciones)
Algunos apuntes sobre ElasticSearch
Templates
Para insertar un template
curl -XPUT http://192.168.5.51:9200/_template/playser -d ' { "template" : "*", "settings" : { "analysis" : { "analyzer" : { "mappings" : { "_default_" : { "properties" : { "begin_of_process" : { "index" : "not_analyzed", "type" : "date", "format" : "dd-MM-yyyy HH:mm:ss" }, "end_of_process" : { "index" : "not_analyzed", "type" : "date", "format" : "dd-MM-yyyy HH:mm:ss" }, "name" : { "index" : "analyzed", "type" : "string" }, "description" : { "index" : "analyzed", "type" : "string" } } } } }'