When searching questions I can select a tag say sql but how can I search for multiple tags at once and only return the questions that have all the tags.
-
Use 2 tags together in the search box: [sql][sql-server] stackoverflow.com/questions/tagged/sql+sql-server, to return either tag: [sql] or [sql-server]. Also you can read this and for an advanced search, perhaps read this– TannerCommented Sep 8, 2014 at 10:17
-
Sorry I didn't realise i missed out specifics. I referring to when I use SO on my phone. As soon as I touch one tag it returns the results. I need it to hold off until I've selected all required tags.– RyanTCBCommented Sep 8, 2014 at 18:05
-
The same applies. If you click on "questions" on the menu, then where it says "all questions" with the magnifying glass, you can enter your search terms as specified.– TannerCommented Sep 8, 2014 at 18:25
-
I was hoping for a way to just tap the tags in the menu. Oh well thanks for replies.– RyanTCBCommented Sep 10, 2014 at 6:13
Add a comment
|
2 Answers
Like this? https://stackoverflow.com/questions/tagged/foo+bar
In the search box, this is [foo] [bar]
, and searching for [foo] [bar]
takes you to https://stackoverflow.com/questions/tagged/foo+bar
.
Note that "and" is the default combiner. You can explicitly state "and" if you prefer to be explicit: https://stackoverflow.com/questions/tagged/foo+and+bar
. From this, it should be obvious that to do the or search, you can use: https://stackoverflow.com/questions/tagged/foo+or+bar
-
-
1
You can also type on the search bar like this:
[tag] and [anotherTag]
or
[tag] or [anotherTag]