我尝试在elasticsearch.yml文件中创建自定义分析器,该分析器与此处的代码片段相同:https://gist.github.com/1403902。但是我遇到了以下错误
{"error":"RemoteTransportException[[Banner, Robert Bruce][inet[/192.168.1.15:9300]][indices/create]]; nested: MapperParsingException[mapping [type1]]; nested: MapperParsingException[Analyzer [string_lowercase] not found for field [field1]];
我仍然无法弄清楚如何解决这个问题。我已经在stackoverflow上搜索过类似的答案(如上述代码片段所述)。请提供一个我可以测试的示例。