Hi, I am kinda confused about the operation of deleting in ES.
If I import a json file which contains several items to ES thru logstash, also specify the index as "sampledata". Later on, I wanted to delete what I imported in ES. So I just did "delete /sampledata", the whole index was removed. But when I imported another file that has the same index as "sampledata", the old documents showed up when I search all the items in that index. So now, the index contains all new and old data which is supposed to be removed from ES.
All I want to do is to actually remove what I import.