我已经尝试在elasticsearch.yml文件中创建一个条目,以创建与gist: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,得到了类似的回复(正如上面提到的要点所提到的)。
请给我一个例子,我可以测试。
发布于 2012-07-26 01:08:58
由于配置文件在启动时是只读的,因此要使更改生效,您需要重新启动elasticsearch集群。为此,您可以使用Shutdown API,或者简单地使用kill命令终止elasticsearch进程。
https://stackoverflow.com/questions/11638676
复制相似问题