I'd like to be able to search for questions by multiple tags; for example "questions tagged 'nhibernate' and 'web-services'".

I can get close by searching for "nhibernate web-services" but the results tend to be a few questions that relate to both terms--but much more largely just questions that relate to one or the other.

  • 1
    Just to clarify, you want a search for "nhibernate OR web-services", right? Any one tag is sufficient for the question to be present in the result.
    – nik
    Commented Jul 29, 2009 at 17:28
  • 2
    @nik no, you're going to need to give raven his point back--I'm looking for an AND search
    – STW
    Commented Jul 29, 2009 at 17:30
  • 1
    Tag search FAQ page can be found here: meta.stackexchange.com/questions/5229/…
    – raven
    Commented Jul 29, 2009 at 20:45

4 Answers 4


You can. Search for [tag1] [tag2] to search for questions with both tags.

  • +1, This is better than typing in the URL :)
    – nik
    Commented Jul 29, 2009 at 17:59
  • @nik: agreed, I did not know you could do this. Pretty cool.
    – raven
    Commented Jul 29, 2009 at 20:44
  • @DanDascalescu - as you found out in your Q&A, it is not broken. Maybe you could remove your comment, it misled me :)
    – miroxlav
    Commented Apr 11, 2014 at 14:27
  • 1
    sorry but this does not work. codegolf.stackexchange.com and [code-golf] [java] in search box will ignore my Java tag.
    – phil294
    Commented Jan 3, 2016 at 15:59
  • 2
    @Blauhirn Use quotes: "[code-golf] [java]"
    – Navin
    Commented May 17, 2016 at 2:24
  • @Navin sorry but no, this totally does not do it, try it out yourself: codegolf.stackexchange.com/search?q=%22[code-golf]+[java]%22 . there are plenty questions tagged witih code-golf AND java.
    – phil294
    Commented May 17, 2016 at 8:46
  • @Blauhirn It appears to work on SO: stackoverflow.com/search?q=%22%5Bopenssl%5D+%5Bc%5D%22 (If it doesn't work, ask a new question here and report the bug)
    – Navin
    Commented May 17, 2016 at 21:49
  • 2
    It does not work for anonymous users: meta.stackexchange.com/questions/243960/…
    – Silveri
    Commented Jul 8, 2016 at 6:49
  • can we search with OR like [tag1] or [tag2] ?
    – Sagiv b.g
    Commented Feb 28, 2019 at 17:16

AhA! Mea Culpa! I did not appreciate the difference between these two ways.

  • Search: [nhibernate][web-services]
  • Search: nhibernate web-services

Something to do with the way I am used to get the effect of "[nhibernate][web-services]" directly by typing that in the URL as "questions/tagged/web-services+nhibernate".

Taking away all my comments and leaving this answer around as something I learned here.

[The OR method] Exists as described here.

Try tags or search
Or, nhibernate or web-services

  • 2
    It was doing OR, he wanted AND. Commented Jul 29, 2009 at 17:46
  • +1 for (undocumented?) OR search
    – jfs
    Commented May 15, 2014 at 15:36
  • This updated approach is exactly what I was looking for! Thank you 😄 Commented May 31, 2022 at 7:22

If you want to do a simple ANDed search, there is another way to accomplish this, without actually using the search interface.

By going to one of the tag pages, using [nhibernate] as an example, if the additional tags you want to search for are popular enough within that tag to show up on the right side of the screen, clicking on one of those tags automatically adds an AND to the filter.

So if you're browsing questions in [nhibernate], clicking on the [mapping] tag on the right side takes you here.

This is a really easy way to browse through questions, and without doing a lot of typing. As I mentioned, the tags you're looking for do have to be popular within the subset of questions shown in the list, but once you've narrowed things down by 2 tags, the list is generally short enough to just browse through all the questions to find what you're looking for.


You can. Type this in your browser's address bar:

https://stackoverflow.com/questions/tagged/nhibernate web-services

  • That is an AND operation
    – nik
    Commented Jul 29, 2009 at 17:24
  • 4
    That's what he asked for, "questions tagged 'nhibernate' and 'web-services'"
    – raven
    Commented Jul 29, 2009 at 17:29
  • 1
    The part where he says "but the results tend to be a few questions that relate to both terms" seems to suggest he wants the search to be more generic (OR rather than AND). I re-read the question later and asked a clarification...
    – nik
    Commented Jul 29, 2009 at 17:32
  • 2
    @nik sorry for the ambiguity--I was trying to say my search for nhibernate+web-services got a few good hits but most were just one or the other
    – STW
    Commented Jul 29, 2009 at 17:35

You must log in to answer this question.

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