开启text汇聚排序

开启text汇聚排序

curl -X PUT "http://192.168.1.136:19200/hxl_test/_mapping/tb_test" -H 'Content-Type: application/json' -d'
{
"properties": {
"name": {
"type": "text",
"fielddata": true
}
}
}
'

这里的name是需要汇聚的字段

查看index hxl_test下所有的表

curl -XGET "http://192.168.1.136:19200/hxl_test/_mapping?pretty"

猜你喜欢

转载自www.cnblogs.com/hxlasky/p/10536701.html