# New search operator "not" for tags only

**URL:** <https://meta.discourse.org/t/new-search-operator-not-for-tags-only/52087>\
**Category:** Feature\
**Tags:** search\
**Created:** [2016年十月27日 10:27 UTC](https://meta.discourse.org/t/new-search-operator-not-for-tags-only/52087 "2016-10-27T10:27:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![kasiabulat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kasiabulat/32/86402_2.png) [@kasiabulat](https://meta.discourse.org/u/kasiabulat)\
**Post date:** [2018年一月3日 22:04 UTC](https://meta.discourse.org/t/new-search-operator-not-for-tags-only/52087/13 "2018-01-03T22:04:25Z")

</div>

Thank you @cpradio for help with finding the correct file.

For the beginning, I added a simple version of search operator “not” (~) for tags. Currently it has the highest precedence and I implemented it as I described above. But I am wondering if it would be better for ‘+’ or ‘,’ to have higher precedence? And should it be possible to combine all operators? What way would be the best for users to construct their queries?

Pull request: [Add search not operator by kasiabulat · Pull Request #5467 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/5467)

---

_[View the full topic](https://meta.discourse.org/t/new-search-operator-not-for-tags-only/52087)._
