【发布时间】:2015-02-10 13:47:08
【问题描述】:
我会用这个定义为索引设置默认分析器:
"index": {
"analysis": {
"analyzer": {
"default": {
"type": 'simple'
}
}
}
}
但后来我通过查询获取了该索引的设置 http://localhost:9200/test/_settings?pretty=true 我只得到这个,没有关于分析器:
{
"test" : {
"settings" : {
"index" : {
"creation_date" : "1423575850265",
"uuid" : "Ac8QSGWbTtSCG7ib4VpV3Q",
"number_of_replicas" : "1",
"number_of_shards" : "5",
"version" : {
"created" : "1040299"
}
}
}
}
}
【问题讨论】:
标签: elasticsearch