Hi Julien Yes. Probably that's the only possible work around to do this. What I am planning to do is, calculate the name of index prior to writing and add a field named "indexname" in my JSON and then I will use
JavaEsSpark.saveJsonToEs(jrd, "index_{indexname}/type"); Thanks for the reply. Abhishek -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7d41dbce-964c-4c71-94cf-d4dcf0e902b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.