2013年5月23日 星期四

Elasticsearch Note(1)_Mapping

Field Configuration
{
    "tweetx" : {
        "properties" : {
            "userx" : {"type" : "string", "index" : "not_analyzed"},
            "messagex" : {"type" : "string", "null_value" : "na"},
            "postDatex" : {"type" : "date"},
            "priorityx" : {"type" : "integer"},
            "rankx" : {"type" : "float"}
        }
    }
}

沒有留言:

張貼留言