-5

I have tried to search 2 tags(PostgreSQL, Mysql) on Stackover Flow. But search results are showing every question 2 times like below image.

Whether its a bug? It should not behave like this.

enter image description here

  • That's not duplicates: note the difference of the first letter in the title of each result. A vs Q. – Mast Jul 23 at 17:00
  • Ya, i have rushed in asking question – Akhilesh Mishra Jul 23 at 17:02
3

To be clear it's not showing the questions twice - it's actually showing you the question and then the answers to the question (if there are any). Search returns both questions and answers.

If you want to only include questions in your results, then you can include a filter of is:question. You can see the Advanced Search options by clicking Advanced Search Tips:

enter image description here

| improve this answer | |
3

You're getting results for all posts, not only questions. The first post in your search results is of an answer, that's what the "A:" prefix means. The second result is a question, indicated by the "Q:".

If you would like questions only, then add is:q to your search and you will not see answers.

| improve this answer | |
2

One is answer and other one is question. If you want to filter further, you can use is:q or is:a in the search bar.

Related help center article: How do I search?

| improve this answer | |
1

All current answers here missed the simple and honest mistake made: using a comma.

In order to show questions having two tags, just have a space between them, no comma:

tag search with no comma

This way you'll get only the questions, no answers, in the search results.

By adding a comma (or anything else) you turn this into ordinary search, which returns both questions and answers, as covered by other answers here.

| improve this answer | |

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