-1
//這是行不通的,並顯示在創建索引... //相應穩固的字符c的錯誤,並根據custome場來elasticsearch:如何定義指數正好與分析,分詞器和過濾器
curl -XPOST localhost:9200/sports0/' -d"
"settings":{
"analysis":{
"analyzer":{
"autocomplete":{
"type":"custom",
"tokenizer":"standard",
"filter":[ "standard", "lowercase", "stop", "kstem", "ngram" ]
`enter code here`}
},
filter:{
type:"stop" ,stopwords:"stopwords.txt"
}
}
}
}