5

I am currently reading A Song of Ice and Fire (just finished CoK) and I am really scared that I will accidentally read a question title that will spoil something really big for me. Is there a way to exclude a particular tag from your search results?

4
  • I think if you do something like -[tagname], you exclude questions with that tag from search.
    – alexwlchan
    Commented Mar 10, 2016 at 0:15
  • What @alexwlchan said is correct. For example, scifi.stackexchange.com/questions/tagged/… is a search for [star-wars] without any [star-wars-legends].
    – Ixrec
    Commented Mar 10, 2016 at 0:17
  • Awesome, thanks!
    – CHEESE
    Commented Mar 10, 2016 at 0:20
  • Dupe-closing this since I've now posted a definitive proposed-FAQ question about the search facility.
    – Rand al'Thor Mod
    Commented Mar 17, 2016 at 14:08

1 Answer 1

5

Yes: use a minus sign.

Searching for [a-song-of-ice-and-fire] gives you all questions with that tag; searching for [a-song-of-ice-and-fire] -[a-storm-of-swords] will give you all questions tagged with the first tag but not the second.

However, be warned: not all questions that concern material from A Storm of Swords will be tagged as such! If you want to avoid spoilers altogether, you'll be better off setting the entire tag (and for good measure) on ignore.

And if you see anything about the Red Wedding or the Purple Wedding, read no further!

2
  • I refuse to click on that...although I don't think you'd be that mean.
    – CHEESE
    Commented Mar 10, 2016 at 0:31
  • @CHEESE Ha! :->
    – Rand al'Thor Mod
    Commented Mar 10, 2016 at 0:35

Not the answer you're looking for? Browse other questions tagged .