I have a situation where my source dataset refreshes everyday, so there is need to first drop/delete the index manually using curl command and run the LS to create the index again.
Is there any option where we can drop the index and create the index using ES output plugin
I have a unique Ids in all the documents, but it is of no use as the whole document refresh or new document comes up everyday and the old ones are uselss. So i have to delete and recreate the index. I need to automate this through LS
This is typical case in ETL tool and we call this case as "truncate and load"
Important part here is index name should be same, as this will impact other programs downstream
The best solution is to use a unique id based on attributes that doesn't changes, and output will update the whole document
Otherwise you need to use curator or ILM
May be if you provide more details son your use case we can better help
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.