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?