Is it possible to provided tag intersections. Suppose I am looking at 'C++' tag and would like to look at file reading/writing specific questions within C++. If you could provide a left side pane which show tags that are intersecting with C++, I could easily find my desired set of questions, ie those which have been tagged as both 'C++' and 'files'


This already happens. Go to the C++ tagged questions page. To the right are "related tags" that you can click through.

| improve this answer | |
  • The related tags only show those that are on the set of questions that happened to be displayed on the page. – Lance Roberts Aug 27 '09 at 15:43

FYI, you can search for questions with multiple tags that you specify by using the magic urls: /tags/bug+status-bydesign will show you all the bugs that are not actually bugs.

I was just thinking about a similar issue. I do believe there should be some sort of 'tag associations'. That way, you would not have to tag a question has both windows and windows-7. Searching for 'windows' could show questions tagged with all Windows operating systems. Similarly, office-2007 could show all powerpoint questions.

But then again, the reason the tags system is so good is because of it's simplicity. If not done carefully and properly, it could screw the whole system up by making to too complicated.

| improve this answer | |

Isn't this what the related tags are on the right panel? Clicking on them gives you the intersecting set of questions. The only drawback there is: it does not work with wildcard tags.

Edit: Lance commented that the related tags just are the tags that happen to be on the displayed questions on the page. I just made the test. Searching for [math] results in 920 questions. It displays [javascript] as a related tag with 16 intersecting questions. There is no question on the first page of results with the tag [javascript]. On later pages, there are 16 such questions featuring both tags. Thus it seems that all intersecting tags in the whole result set are listed as related, thus being what the OP is looking for. If I am wrong, please let me know.

These restrictions still remain:

If you click on your interesting tags list something like [delphi*] and then click on one of the related tags, instead of an and with the rest it will or the tag. Sometimes if the list of tags fitting the wildcard is long, this will result in an error.

Try the example I gave using [delphi*] (or delphi~ in search box) and click on winapi afterwards. This is the result:


See the or before winapi? Try to click the link, too.

It does work when searching using [delphi~] [winapi], resulting in the URL https://stackoverflow.com/questions/tagged/winapi+delphi~

But then on the second page you will see that it resolves this to


This is a different combination of and's and or's than expected.

| improve this answer | |
  • see comment on Eric's answer on the related tags. – Lance Roberts Aug 27 '09 at 15:44

You must log in to answer this question.