使用es-hadoop插件,主要使用elasticsearch-spark-20_2.11-6.2.x.jar
官网:https://www.elastic.co/guide/en/elasticsearch/hadoop/current/reference.html
关于ES详细的配置参数 大家可以看下面的这个类:
org.elasticsearch.hadoop.cfg.ConfigurationOptions
使用es-hadoop插件,主要使用elasticsearch-spark-20_2.11-6.2.x.jar
官网:https://www.elastic.co/guide/en/elasticsearch/hadoop/current/reference.html
关于ES详细的配置参数 大家可以看下面的这个类:
org.elasticsearch.hadoop.cfg.ConfigurationOptions