I installed debian package
I can push data using curl:
curl -XPUT 'http://mybox:9200/blog/user/dilbert' -d '{ "name": "Dilbert Brown" }'
And select it
curl -XGET 'http://mybox:9200/blog/user/dilbert'
result:
{ "_index": "blog", "_type": "user", "_id": "dilbert", "_version": 2, "exists": true, "_source": { "name": "Dilbert Brown" } }
And find it with
curl -XGET 'http://mybox:9200/blog/user/_search?q=name:Dilbert+Brown&pretty=True'
I want to click the same record with ttl 5 seconds and 5 seconds later to get 404 http status code when trying to retrieve this record. Also, the entry should not appear in search results.
NOTE. I have tried various combinations of search configurations from
None of them helped me.
Can someone mention a simple sequence of steps that would allow me to achieve the target result?
source share