elastic search记录

curl命令 设置mapping:

index:jwapp;type:jwapp

curl -XPUT http://localhost:9200/jwapp/jwapp/_mapping -d '{"jwapp" : {"properties" : {"content_typs_new" : {"type" : "string","index" : "not_analyzed","ignore_above":256}}}}'

你可能感兴趣的:(elastic search记录)