custom analyzer which breaks the tokens on special characters and lowercase/uppercase
问题 I am trying to write a custom analyzer which breaks the token on special characters and convert it into uppercase before indexing and I should be able to get result if I search with lowercase also.. for example if I am giving data@source - it should replace @ with whitespace - any special character it should replace with whitespace and give me result like data source. Here is how I tried implementing. PUT sound { "settings": { "analysis": { "analyzer": { "my_analyzer": { "tokenizer":