# I get search hits on deleted objects

**URL:** <https://discuss.elastic.co/t/i-get-search-hits-on-deleted-objects/206015>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [October 31, 2019, 10:05am UTC](https://discuss.elastic.co/t/i-get-search-hits-on-deleted-objects/206015 "2019-10-31T10:05:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesireeNordlund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desireenordlund/32/56925_2.png) [@DesireeNordlund](https://discuss.elastic.co/u/DesireeNordlund)\
**Post date:** [October 31, 2019, 10:05am UTC](https://discuss.elastic.co/t/i-get-search-hits-on-deleted-objects/206015/1 "2019-10-31T10:05:48Z")

</div>

Hi

I delete a post in the index by C# code. I do a delete by query.  
I get this response:

> Valid NEST response built from a successful (200) low level call on POST: /parlan\_ra/\_delete\_by\_query
> 
> # Audit trail of this API call:
> 
> - [1] HealthyResponse: Node: [http://nc11434:9200/](http://nc11434:9200/) Took: 00:00:00.4843782
> 
> # Request:
> 
> \<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.\>
> 
> # Response:
> 
> \<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.\>

Which to my eyes seem as it has been properly deleted.

But when I preform a search I still get a hit on the content. **Why?**  
I have waited hours and I still get the same hit.

Could you please help me understand what is going on? Deadline is closing in.

---

<div class="post-metadata">

**Author:** ![DesireeNordlund](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desireenordlund/32/56925_2.png) [@DesireeNordlund](https://discuss.elastic.co/u/DesireeNordlund)\
**Post date:** [November 1, 2019, 12:00pm UTC](https://discuss.elastic.co/t/i-get-search-hits-on-deleted-objects/206015/2 "2019-11-01T12:00:21Z")

</div>

I was stone blind, stressed, and read it all wrong. 😀

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 29, 2019, 12:02pm UTC](https://discuss.elastic.co/t/i-get-search-hits-on-deleted-objects/206015/3 "2019-11-29T12:02:16Z")

</div>

Closed on November 29, 2019, 12:02pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
