# Can't use filtering negation

**URL:** <https://discuss.elastic.co/t/cant-use-filtering-negation/185325>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [June 12, 2019, 5:22am UTC](https://discuss.elastic.co/t/cant-use-filtering-negation/185325 "2019-06-12T05:22:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BestBenjamin](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@BestBenjamin](https://discuss.elastic.co/u/BestBenjamin)\
**Post date:** [June 12, 2019, 5:22am UTC](https://discuss.elastic.co/t/cant-use-filtering-negation/185325/1 "2019-06-12T05:22:02Z")

</div>

Hello,  
I have a problem with filtering negation. It not return anything when get a result,but when I remove '!' out.It works properly.So,I want to know if this filter is still working.  
Thank you

---

<div class="post-metadata">

**Author:** ![thekm1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thekm1/32/35926_2.png) [@thekm1](https://discuss.elastic.co/u/thekm1)\
**Post date:** [June 12, 2019, 6:14am UTC](https://discuss.elastic.co/t/cant-use-filtering-negation/185325/2 "2019-06-12T06:14:08Z")

</div>

Hi @BestBenjamin  
Can you tell us where you are trying to do the query?  
And if possible, you could also try to forward the query.

Thank you

---

<div class="post-metadata">

**Author:** ![BestBenjamin](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@BestBenjamin](https://discuss.elastic.co/u/BestBenjamin)\
**Post date:** [June 12, 2019, 10:00am UTC](https://discuss.elastic.co/t/cant-use-filtering-negation/185325/3 "2019-06-12T10:00:02Z")

</div>

Sorry, my bad.I use Elastic App search ,but I read site-search documentation \>0\<. Now, I can fix it. Thanks

---

<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:** [July 10, 2019, 10:00am UTC](https://discuss.elastic.co/t/cant-use-filtering-negation/185325/4 "2019-07-10T10:00:04Z")

</div>

Closed on July 10, 2019, 10:00am UTC

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