Now the update works but not the delete, so when I update a title of my app the results show the old and the new title.
I think delete method should delete all previous version of the document.
In my case I use this for update and add new inputs
Spomet.update(new Spomet.Findable(postProperties.title, 'title', currentPostId, 'post', new Date().getTime()));
Spomet.add(new Spomet.Findable(post.title, 'title', postId, 'post', new Date().getTime()));
And if I force an add then a delete on the console( have insecure package)
Spomet.add(new Spomet.Findable('testing', 'title', 12345, 'post', 1));
Then I try to delete
Spomet.delete(12345);
The result is not deleted and can be found on the search form.