I'm using elasticsearch version 6.7.2. While testing with elasticsearch test framework, getting following error.
java.lang.IllegalArgumentException: Custom Analyzer [my_analyzer] failed to find tokenizer under name [whitespace]
at __randomizedtesting.SeedInfo.seed([15944A0400B02A8:3E5900C2E7F115DD]:0)
at org.elasticsearch.index.analysis.CustomAnalyzerProvider.build(CustomAnalyzerProvider.java:58)
at org.elasticsearch.index.analysis.AnalysisRegistry.processAnalyzerFactory(AnalysisRegistry.java:553)
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:477)
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:167)
at org.elasticsearch.index.IndexService.<init>(IndexService.java:164)
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:402)
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:526)
at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:480)
you can enable logging in the client, to have the request printed out, that would be really helpful in this case - also help to check differences between those two versions.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.