I have installed curator plugin for deleting docs of particular index. So
Can curator plugin can be used to delete a Doc's of a index/indices OR it is only used to delete the entire indices. If possible can you share any sample.
To delete a indices also is it mandatory to have alias created for that indices.
Then is there any way to delete the Docs alone for particular indices? Because my indices will be loaded every 1 minute and down the line it will a huge data.
i only need to keep the Docs say for past 10days, older i can delete. Could you suggest any way forward using curator plugin?
If you use time-based indices, e.g. an index per day or using the rollover API, you can simply drop complete indices using curator. This is much more efficient than deleting select documents from an index.
If you need to delete documents from within an index, delete-by-query is the way to go.
Could you kindly explain it(i am new to ES). You mean to say like, we need to define a indices which can load only certain amount of data(size) post which old data will be deleted and new new data will stored?
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.