Hi,
I'm trying to upgrade java api's to support elastic 6.2.2 . I'm getting below exception for unit tests :
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticsearch.client.Client]: Factory method 'create' threw exception; nested exception is **java.lang.IllegalArgumentException: Unknown char_filter type [pattern_replace] for [my_char_filter]**
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 43 more
Caused by: java.lang.IllegalArgumentException: Unknown char_filter type [pattern_replace] for [my_char_filter]
at org.elasticsearch.index.analysis.AnalysisRegistry.getAnalysisProvider(AnalysisRegistry.java:391)
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.