(#9) added elasticsearch features: adding, updating and removing a document from the index.