Hi - I'm trying to convert to using ES having done SOLR for a long time so please bear with me. When I try and put the following I get error message...
"Custom Analyzer [text_suggest_analyzer] failed to find filter under name [punctuationfilter]"
Why? I can't see much wrong with my json (but then I don't yet have a trained eye).
Thnks.
curl -H'Content-Type: application/json' -X PUT http://localhost:9200/my_hw_index -d '
{
"settings" : {
"analysis" : {
"analyzer" : {
"text_suggest_analyzer" : {
"type" : "custom",
"tokenizer" : "basic_tokenizer",
"filter" : [
"lowercase",
"punctuationfilter"
]
}
},
"char_filter" : {
"punctuationfilter" : {
"type" : "pattern_replace",
"pattern" : "\\p{Punct}",
"replacement" : " "
}
},
"tokenizer" : {
"basic_tokenizer" : {
"type" : "standard"
}
}
}
}
}'